Question: please code in C++ Copyright 2013, Dennis Rainey Page 1 of 1 Lab 1 (2 programs) (Lec. 1 and 2) NOTE: These exercises cover declaring
Copyright 2013, Dennis Rainey Page 1 of 1 Lab 1 (2 programs) (Lec. 1 and 2) NOTE: These exercises cover declaring variables, data types, math expressions, as well as cout >. (see the output for more notes) Lab 1a - Project: Banking 1.) Create a new project and name it: Lab_1a 2.) Add a new file and name it: Source.cpp 3.) Write a program that produces the following output: (User enters these values.) Enter your present checking account balance: 1000 Enter your present savings account balance: 1500 Enter the amount to be deposited into your savings account: 500 Enter the amount of the check you wish to write: 400 After the deposit, the savings account balance is $2,000. After writing the check, the checking account balance is $600. After both transactions, the total of the two accounts is $2,600. Well, your not exactly rich, but not bad. Lab 1b - Project: Names 1.) Create a new project and name it: Lab_1b 2.) Write a program that produces the this output: (Use variables for names in the output) Enter your first name: Tom + (User enters these values.) Enter your last name: Lee Hi Tom Lee. What is the last name of your friend? Simpson (you can enter whatever name you want) What is his first initial? O Wait a minute, what is his middle initial? J I cannot believe your friend is o. J. Simpson. Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
