d provide a solution using Raptor Flowcharting tool? I understand the bugs. I wish to see the solution in Raptor. Either in Raptor for Windows or Raptor Avalonia. I'm having some difficulty using the Ra
d provide a solution using Raptor Flowcharting tool? I understand the bugs. I wish to see the solution in Raptor. Either in Raptor for Windows or Raptor Avalonia. I'm having some difficulty using the Ra
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
Related questions
Question
Can you please debug this and provide a solution using Raptor Flowcharting tool?
I understand the bugs. I wish to see the solution in Raptor. Either in Raptor for Windows or Raptor Avalonia.
I'm having some difficulty using the Raptor Application and need the solution in raptor.
![// Program prompts users for names and quantities for a $2.00 product
and displays total for each user until "XXX" is entered
Declarations
string name
num quantity
num PRICE_EACH = 2.00
num total
string PROMPT1 = "Enter name
string PROMPT2 = "Enter quantity
string QUIT = "XXX"
string END_MSG = "END of job"
endOfJob()
start
stop
housekeep()
name QUIT?
output END_MSG
No
endOfJob()
stop
Yes
11
detailLoop()
housekeeping()
output PROMPT1
input name
return
detailLoop()
output PROMPT2
input quantity
total =
quantity* PRICE_EACH
output name, total
output PROMPT1
return](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F79264fce-0e09-4084-b4f6-51efe95c54be%2F51a61e99-1f69-4ce5-bfac-02239ce32209%2Fhdjjre_processed.jpeg&w=3840&q=75)
Transcribed Image Text:// Program prompts users for names and quantities for a $2.00 product
and displays total for each user until "XXX" is entered
Declarations
string name
num quantity
num PRICE_EACH = 2.00
num total
string PROMPT1 = "Enter name
string PROMPT2 = "Enter quantity
string QUIT = "XXX"
string END_MSG = "END of job"
endOfJob()
start
stop
housekeep()
name QUIT?
output END_MSG
No
endOfJob()
stop
Yes
11
detailLoop()
housekeeping()
output PROMPT1
input name
return
detailLoop()
output PROMPT2
input quantity
total =
quantity* PRICE_EACH
output name, total
output PROMPT1
return
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr