Question: C + + Assignment # 2 1 0 0 points Due Date: Tuesday Jan. 3 0 1 1 : 5 9 pm ( nothing late

C++ Assignment #2100 points
Due Date: Tuesday Jan. 3011:59pm (nothing late accepted)
You are to write a C++ program that calculates a Credit Card balance. You will have three charges against the credit card and one payment. The charges will be added to the beginning credit card balance and the payment will be subtracted from the balance.
You are to "assign" all data. You are NOT to read anything from the keyboard. You may makeup any data you like. Your variable names you define MUST be meaningful. For example, you could define the first charge as "charge1", but NOT "c1".
(Be sure to download the sample code stored with Class notes #1. These samples are very similar to what is meeded in thas assignment)
Code the program using the steps below:
Define all of your variable names at the beginning of your code. Please note that I want the definition statements separate from the assignment statements.
Assign the beginning balance of the credit card to the double variable you defined
Assign a first charge amount to the double variable you defined
Assign a second charge amount to the double variable you defined
Assign a third charge amount to the double variable you defined
Assign a payment amount to the double variable you defined
Calculate the final credit card balance as the beginning balance plus the three charge amount minus the payment amount
Print the beginning credit card balance
Print the first charge amount
10.Print the second charge amount
11.Print the third charge amount
12.Print the payment amount
Print the final credit card balance
Please note that all data is to be printed with a label, for example:
cout "Beginning credit card Balance = begin endl);
 C++ Assignment #2100 points Due Date: Tuesday Jan. 3011:59pm (nothing late

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!