write a program to create a customer's bill for Ms.B's Desk-Shop. ms. B sell only three items: grater-cake, icy-mints and corn-sham, which she persoally delivers to ezch customer upon accepting their phone order. The unit prices are $50, $10 and $30 respectively, with delivery charge of 10% on the total cost of the items purchased. The program should be designed according to the input and output below:
Enter the number of grater-cakes: 4
Enter the number of icy-mints: 0
Enter the number of corn-shams: 2
QTY ITEM UNIT PRICE TOTAL PRICE
-------------------------------------------------------------------------------
4 Grater-cake 50.00 200.00
0 Icy-mint 10.00 0.00
2 Corn-Sham 30.00 60.00
---------------------
Subtotal 260.00
Delivery 26.00
--------------------
Total 286.00
============
Recommended Answers
Jump to Post#include <motivation.h> #include <drive.h> #include <dignity.h> using namespace omg; int main() { string whatAreYouThinking = "foppishness"; int numOfPeopleWhoWillHelpYou = 0; string typicalResponseToThis = "rofl"; big_Surprise(whatAreYouThinking, numOfPeopleWhoWilHelpYou, typicalResponseToThis) = goDoYourOWNhomework; return 0; }
Jump to PostI have seen sites that will write people's homework for $$$. But DaniWeb is not one of them :)
Maybe it should ;)
Jump to PostCan i have 4 Grater-cake and 2 Icy-mint Please ....
You can send me bill after you have finish writing the program...:twisted:
Jump to PostEven if you do not do it as long you do not fail the course you should not worry.
What a ridiculous thing to say. I certainly hope he doesn't pass the class. Not only is he too lazy to do his own work, not only does he have the …
Jump to PostClosed. This has gone on long enough.
All 28 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
STUDENT#101
-2
Newbie Poster
twomers
408
Posting Virtuoso
grumpier
149
Posting Whiz in Training
Denniz
103
Posting Pro in Training
bhoot_jb
47
Junior Poster in Training
Freaky_Chris
299
Master Poster
Gribouillis
1,391
Programming Explorer
Team Colleague
chococrack
74
Junior Poster
Ancient Dragon
commented:
Genious :)
+36
twomers
commented:
It's <cdignity> strictly for C++, but I approve of this level of cynicism with only 5 posts. Good work!
+6
bhoot_jb
commented:
good program :D
+1
TheBeast32
54
Posting Whiz in Training
plumsauce
0
Newbie Poster
dougy83
74
Posting Whiz in Training
Freaky_Chris
299
Master Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
ff4930
24
Junior Poster in Training
ithelp
757
Posting Virtuoso
Banned
Ellisande
0
Junior Poster in Training
chococrack
74
Junior Poster
STUDENT#101
-2
Newbie Poster
Ezzaral
commented:
Epic fail.
-2
skatamatic
371
Practically a Posting Shark
FireNet
64
Posting Whiz in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Denniz
103
Posting Pro in Training
ithelp
757
Posting Virtuoso
Banned
VBNick
3
Junior Poster
rhoit
0
Junior Poster in Training
VernonDozier
2,218
Posting Expert
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.