Given the number of commodities bought, create a program that computes the total amount purchased in a fast food center. Assume that the following unit price of each commodity
Fried Chicken= 29.75
Cheese Burger= 25.00
French Fries= 18.50
Soft Drinks=14.25
ambigouscase 0 Newbie Poster
Recommended Answers
Jump to PostI don't know how to create a program with that problem :(
That's a textbook lazy response right there. If you already knew how to create that program, it wouldn't have been assigned. Figure it out, we all had to at some point.
First, get out a pen and …
Jump to PostUhm... I dont want to sound like an ass but that is not really helping... we told him to at least try... everyone on this forum will help some-one if they at least try themselves... be it error handling or code correction... but giving them results is just strengthening their …
Jump to Posthaha,you to learn it out yourself step by step.but i will help you this time.
/*Given the number of commodities bought, create a program that computes the total amount purchased in a fast food center. Assume that the following unit price of each commodity*/ #include <iostream.h> void main(){ …
All 9 Replies
L7Sqr 227 Practically a Master Poster
ambigouscase 0 Newbie Poster
Eagletalon 34 Junior Poster in Training
Fbody 682 Posting Maven Featured Poster
Eagletalon commented: Brilliant description and planning structure... also encourages one to learn as much as possible by him/her - self +1
sing1006 -5 Light Poster
Fbody commented: Seriously? -3
NathanOliver commented: Please don't spread non standard code around -2
Eagletalon 34 Junior Poster in Training
Fbody commented: Well said. +13
sing1006 -5 Light Poster
Fbody 682 Posting Maven Featured Poster
cherrymae.calma -2 Newbie 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.