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 Commendable Aug 28, 2017 253 1 1,210 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 Judicious Jan 13, 2011 4,162 4 35,260 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 17,834 207 87,600 Apr 25, 2018 #4 failure is an option. Upvote 0 Downvote
T The Paladin Estimable Herald Oct 5, 2016 759 0 3,710 Apr 25, 2018 #5 failing grade is even more likely. Upvote 0 Downvote
Ralston18 Splendid Moderator Oct 11, 2014 2,397 3 21,815 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).