subject

A Restaurant offers three types of foods; Fried-fish which costs 4 JD , Beef Burger which costs 2.5 JD, Zinger 2 JD. Construct a flowchart and write a C-code that achieves the followings: a. The food prices should be in global variables and constant. (1 mark)

b. The code should read the number of items that were sold from each type of food for a customer. (2 marks)

c. The code should have module/function that takes the number of item that were sold from each type and then displays the amount of money generated from the sales. (4 marks)

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:40, pbarbee3034
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
image
Computers and Technology, 23.06.2019 10:30, badpotterchris
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, dimondqueen511
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
image
Computers and Technology, 23.06.2019 17:10, madams4450
Ac++an of of pi. in , pi is by : pi = 4 – 4/3 + 4/5 – 4/7 + 4/9 - 4/11 + 4/13 - 4/15 + 4/17 . ., to pi (9 ). , if 5 to pi, be as : pi = 4 - 4/3 + 4/5 - 4/7 + 4/9 = 4 – 1. + 0.8 - 0. + 0. = 3.. atoofbe to pi?
Answers: 2
You know the right answer?
A Restaurant offers three types of foods; Fried-fish which costs 4 JD , Beef Burger which costs 2.5...

Questions in other subjects:

Konu
Mathematics, 05.11.2020 05:30
Konu
Mathematics, 05.11.2020 05:30