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 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
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
question
Mathematics, 13.10.2020 02:01