Question
Could somebody please help me convert this pseudocode into C ++ syntax code that will execute into a program that I can use in DEV
Could somebody please help me convert this pseudocode into C ++ syntax code that will execute into a program that I can use in DEV ++ for a homework assignment?
Thanks!
Start
Declarations
string address
num price
num accumPrice = 0
string HEADING 1 = "MONTH-END SALES REPORT"
string HEADING 2 = "Address Price"
num QUIT = "ZZZ'
GetReady()
while address <> QUIT
createReport()
endwhile
finishup()
stop
getReady()
output HEADING1
output HEADING2
output "Enter address of property "
input address
return
createReport()
output "Enter price of property "
input price
outut address, price
accumPrice = accumPrice + price
output "Enter address of next property "
input address
return
finishUp()
output "Total ", accumPrice
return
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started