Can someone help me with this Q? idk what to do iam stuck and i garra use all these conditions below inside do-while... HELPšŸ’” | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone help me with this Q? idk what to do iam stuck and i garra use all these conditions below inside do-while... HELPšŸ’”

Write a complete program for a shop of your friend, relatives or acquaintances. The program must have a switch case, operational condition, while or do-while loop and IF- Else condition. It must get requests from users such as ā€œcoffeeā€ , ā€œteaā€,"Cappuccino", and 2 others., then gets the quantity and sum up the final prices. The loop helps the user to choose more than one item. Please do it in a real shop with real prices, but you do not need to include all items. Marking Criteria ā€¢ Creativity ā€¢ Originality ā€¢ Clear Code ā€¢ Comments ā€¢ Correctness ā€¢ Portability ā€¢ User friendly

3rd Mar 2022, 1:12 PM
Kazy
Kazy - avatar
6 Answers
+ 3
Kazy Show your attempt
3rd Mar 2022, 2:14 PM
RšŸ’ šŸ‡®šŸ‡³
RšŸ’ šŸ‡®šŸ‡³ - avatar
+ 3
Kazy Share your code so that community can help you
3rd Mar 2022, 2:40 PM
RšŸ’ šŸ‡®šŸ‡³
RšŸ’ šŸ‡®šŸ‡³ - avatar
+ 3
Kazy You could have put them in one file and share the link just like this šŸ‘‡ https://code.sololearn.com/cLsQbltMZLaI/?ref=app
4th Mar 2022, 6:16 AM
ShadowCipher
ShadowCipher - avatar
+ 1
https://www.sololearn.com/post/1558202/?ref=app
4th Mar 2022, 7:10 AM
Kazy
Kazy - avatar
0
I wrote a code but when u order for example 3 coffee ā˜• the sum of all of them will not be the correct price.
3rd Mar 2022, 2:31 PM
Kazy
Kazy - avatar
0
This is the code. If u help me or make this code easier i will be thankful.
4th Mar 2022, 7:11 AM
Kazy
Kazy - avatar