Question
Directions Read the following program and then answer the questions below. Start Declare String doAnother Do While doAnother = Y or doAnother = y Call
Directions Read the following program and then answer the questions below.
Start
Declare String doAnother
Do While doAnother = Y or doAnother = y
Call showRetail()
Output Do you have another item? (Enter Y for Yes)
Input doAnother
EndWhile
Stop
showRetail()
Declare Num Wholesale
Declare Num Retail
Declare Num Markup
Markup = 2.50
Output Enter an items wholesale cost
Input Wholesale
Retail = Wholesale * Markup
Output The retail price for this item is $, Retail
Return
Questions to Answer:
- What does the following program do or what is the purpose of the program?
- What are the inputs for the program?
- What is the output?
- Is there a process?
- What type of features does this program contain?
- Draw a flowchart of the program
- Create an IPO chart
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