A customer want to buy 6 items. He has only 50.50 OMR with him. The price of the products are listed: Price S.NO. Item (OMR) 1 Charger 7.50 2 Mobile 5.00 Cover 3 Headphone 7.50 4 Bluetooth 10.50 SD card 8.50 6. Charging 7.0 cable Write an algorithm and draw a flowchart to check whether he can buy all the 6 products, also display the remaining amount that the customer will have, if any. 5
A customer want to buy 6 items. He has only 50.50 OMR with him. The price of the products are listed: Price S.NO. Item (OMR) 1 Charger 7.50 2 Mobile 5.00 Cover 3 Headphone 7.50 4 Bluetooth 10.50 SD card 8.50 6. Charging 7.0 cable Write an algorithm and draw a flowchart to check whether he can buy all the 6 products, also display the remaining amount that the customer will have, if any. 5
Chapter5: Looping
Section: Chapter Questions
Problem 11E
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
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
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage