L likilikitrish3 Apr 25, 2018 1 0 10 Apr 25, 2018 #1 It's for a program I had to write which is calculating the total cost of juice orders ... Apple($4)pineapple($6) and orange juice ($8)with extra ice if needed by customers ($1)
It's for a program I had to write which is calculating the total cost of juice orders ... Apple($4)pineapple($6) and orange juice ($8)with extra ice if needed by customers ($1)
vapour Champion Aug 28, 2017 12,398 98 57,540 Apr 25, 2018 #2 Hint: Convert input into a vector of strings, and use a mapping to map those strings to their price. Does it ring a bell? Upvote 0 Downvote
Hint: Convert input into a vector of strings, and use a mapping to map those strings to their price. Does it ring a bell?
A Alabalcho Titan Jan 13, 2011 14,019 435 76,290 Apr 25, 2018 #3 Registering here just to ask for someone to do your homework is not the proper way to do it. Show what you've done, and ask questions about your code. Upvote 0 Downvote
Registering here just to ask for someone to do your homework is not the proper way to do it. Show what you've done, and ask questions about your code.
rgd1101 Don't Moderator Nov 7, 2011 73,311 3,855 176,290 Apr 25, 2018 #4 failure is an option. Upvote 0 Downvote
The Paladin Polypheme Ambassador Oct 5, 2016 9,663 60 67,340 www.texastandyrestorations.org Apr 25, 2018 #5 failing grade is even more likely. Upvote 0 Downvote
Ralston18 Titan Moderator Oct 11, 2014 34,903 3,324 146,290 Apr 25, 2018 #6 And, when writing code, it always helps if you list out the necessary process step by step and then write the code for each step. You must first understand the process and the logic that is needed. Then, as has been stated, post your work and ask your question(s). Upvote 0 Downvote
And, when writing code, it always helps if you list out the necessary process step by step and then write the code for each step. You must first understand the process and the logic that is needed. Then, as has been stated, post your work and ask your question(s).