Computers and Technology

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.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, bri2008
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
image
Computers and Technology, 24.06.2019 07:00, Dkhaurithompson
Selective is defined as paying attention to messages that are consistent with one’s attitudes and beliefs and ignoring messages that are inconsistent.
Answers: 1
image
Computers and Technology, 24.06.2019 21:30, croxy0514
Jenny wants to create an animated short video to add to her website. which software will she use to create this animated video?
Answers: 1
image
Computers and Technology, 25.06.2019 12:00, jennyv191
What are the best ways to find data within a spreadsheet or database? check all that apply. sorting tools the function scrolling the search engine the search box
Answers: 1
Do you know the correct answer?
A Restaurant offers three types of foods; Fried-fish which costs 4 JD , Beef Burger which costs 2.5...

Questions in other subjects: