Question: Qbasic So I'm thinking I can use both the read and data statements to calculate and do month balance and finance charge.. I'm not understanding
Qbasic
So I'm thinking I can use both the read and data statements to calculate and do month balance and finance charge.. I'm not understanding algorithm steps though..I'm a newbie to this
how to write a data statement that will display the end of the month credit card balances of three people.The end of the month balance is calculated as finance charges+ beginning month balance+ purchases - payments. the finance charge is 1.5%. the picture i posted shows the question

Programming Assignment 2 Write a program that uses the DATA statements below to display the end-of-month credit card balances of three people. The end-of-month balance is calculated as (finance charges + [beginning-of-month balance] + [purchases] - [payment), where the finance charge is 1.5% of the beginning of the month balance. REM --- person, beginning balance, purchases during the month, payment DATA John Adams, 125.00, 60.00, 110.00 DATA Sue Jones, 0, 117.25, 117.25 DATA John Smith, 350.00, 200.50, 300.00 ProAssignment2 BATASTATE. File Edit View Search Run Options Prossignment2 TASTATE.bas 1 Customers End of the Month Credit Card Balances starting with 2 begining balance. purchases during the month, in purchases or parents. Finance Charges calculated at 1.5 3 CLS 4 PRINT TEND THE MONTH CREDIT CARD BALANCES" 5 READ first Manes, last Manes 6 HEAD Balance 7. READ purchase Bread painents 10 DATA John Adams 1 DATA 125.00 12. DATA 60.00 13 DATA 110.09 14 PRINT Programming Assignment 2 Write a program that uses the DATA statements below to display the end-of-month credit card balances of three people. The end-of-month balance is calculated as (finance charges + [beginning-of-month balance] + [purchases] - [payment), where the finance charge is 1.5% of the beginning of the month balance. REM --- person, beginning balance, purchases during the month, payment DATA John Adams, 125.00, 60.00, 110.00 DATA Sue Jones, 0, 117.25, 117.25 DATA John Smith, 350.00, 200.50, 300.00 ProAssignment2 BATASTATE. File Edit View Search Run Options Prossignment2 TASTATE.bas 1 Customers End of the Month Credit Card Balances starting with 2 begining balance. purchases during the month, in purchases or parents. Finance Charges calculated at 1.5 3 CLS 4 PRINT TEND THE MONTH CREDIT CARD BALANCES" 5 READ first Manes, last Manes 6 HEAD Balance 7. READ purchase Bread painents 10 DATA John Adams 1 DATA 125.00 12. DATA 60.00 13 DATA 110.09 14 PRINT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
