Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

More Books

Students also viewed these Databases questions