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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:40
Design a pos circuit that displays the letters a through j on a seven-segment indicator. the circuit has four inputs w, x, y, and z which represent the last 4 bits of the uppercase ascii code for the letter to be displayed. thus, if wxyz = 0001 then "a" will be displayed. (any answer with 22 or fewer gates and inverters, not counting any for the inputs, is acceptable)
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
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
question
Mathematics, 21.04.2021 01:10
question
Chemistry, 21.04.2021 01:10
question
Chemistry, 21.04.2021 01:10
question
Biology, 21.04.2021 01:10
question
Physics, 21.04.2021 01:10
question
Mathematics, 21.04.2021 01:10
question
Health, 21.04.2021 01:10
Questions on the website: 13722362