Write a C program to help a HiFi’s Restaurant automate its
breakfast billing system. Your assignment should implement
the following items:

a. Show the customer the different breakfast items
offered by the HiFi’s Restaurant.
b. Allow the customer to select more than one item
from the menu.
c. Calculate and print the bill to the customer.
d. Produce a report to present your complete program
and show more sample output.

Assume that the HiFi’s Restaurant offers the following
breakfast menu:

Plain Egg $2.50
Bacon and Egg $3.45
Muffin $2.20
French Toast $2.95
Fruit Basket $3.45
Cereal $0.70
Coffee $1.50
Tea $1.80


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

wat is the difference between array and pointer?

4 Answers   Wipro,


What are the types of functions in c?

0 Answers  


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

0 Answers  


Which of the following about the C comments is incorrect ? a.commentscan go over multiple lines b.comments can start any where in the line c.a line can contain comments with out any language statements d.comments can occur within comments

6 Answers   TCS,


How do you redirect a standard stream?

0 Answers  






How to swap 3 numbers without using 4th variable?

5 Answers  


what is data structure?

5 Answers   CBSE,


b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720

1 Answers   HCL,


Explain the concept and use of type void.

0 Answers  


What are all different types of pointers in c?

0 Answers  


write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview

2 Answers   Satyam, UNIS, Wipro,


Software Interview Questions

1 Answers   CAT,


Categories