Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Write-a-C-program-that-declares-two-variables

Project # 1

The objective of this project is to provide experience working with variables and the standard output.

Write a C++ program that declares two variables, one to store a bank checking account balance and the second to store a bank savings account balance. Assign $2,345.67 to the checking account balance variable and $38,001.98 to the savings account balance. Add the two balances together and output the sum to the screen using the following format:

Your total bank balance is: xxxxx.xx

where the x’s are replaced with the calculated total balance.

Ensure your program is adequately commented. At the beginning of your program use a multiline comment and provide your name, date, and a brief description of the program. Also, use a single line comment after your variable declarations to provide a very brief description of the variable purpose.

Compile and run your program to ensure there are no errors and it meets the requirements of this project.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"