Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assembly language and computer arch Develop a program that will determine a customer=s new ending balance and their available credit on a charge account. For

Assembly language and computer arch

Develop a program that will determine a customer=s new ending balance and their available credit on a charge account. For the customer you will input: account number (letters and numbers), then whole numbers for beginning balance for the month (what customer owed prior to this month), total of all new charges for the month, total of all credits (payments) for the month, and the allowed credit limit.

The program will prompt and the user will input all the data separately, then calculate the ending balance (new amount customer now owes) and available credit (the part of the limit they still have left) and store the results. Print out the information about the account with labels on separate lines - account number, ending balance, and available credit. Put a blank line between the input and output.

Run your program two separate times with the following accounts:

INPUT:

Account Number: SEFS1

Beginning Balance: 2517

Charges: 1524

Credits: 500

Credit Limit: 4000

Account Number: SEFS200

Beginning Balance: 1479

Charges: 729

Credits: 600

Credit Limit: 2000

Label the following output for each customer in the two runs:

OUTPUT:

Account Number:

Ending Balance:

Available Credit:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions