subject
Engineering, 07.03.2020 04:55 030702princessjs

// A standard mortgage is paid monthly over 30 years.
// This program is intended to output 360 payment coupons
// for each new borrower at a mortgage company.
// Each coupon lists the month number, year number,
// and a friendly mailing reminder.
start
Declarations
num MONTHS = 12
num YEARS = 30
string MSG = "Remember to allow 5 days for mailing"
num acctNum
num yearCounter
housekeeping()
while acctNUm <> QUIT
printCoupons()
endwhile
finish()
stop

housekeeping()
print "Enter account number or ", QUIT, " to quit "
input acctNum
return

printCoupons()
while yearCounter <= YEARS
while monthCounter <= MONTHS
print acctNum, monthCounter, yearCounter, MSG
monthCounter = monthCounter + 1
endwhile
endwhile
output "Enter account number or ", QUIT, " to quit "
input acctNum
return

finish()
output "End of job"
return

Can you please help me debug this code, Thanks!

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
question
Engineering, 04.07.2019 18:10
Journeyman training is usually related (clo2) a)-to specific tasks b)-to cost analysis of maintenance task c)-to control process to ensure quality d)-to installation of machinery
Answers: 2
You know the right answer?
// A standard mortgage is paid monthly over 30 years.
// This program is intended to output 36...
Questions
question
Mathematics, 30.08.2019 10:00
question
Mathematics, 30.08.2019 10:00
question
World Languages, 30.08.2019 10:00
Questions on the website: 13722363