Computers and Technology
Computers and Technology, 10.11.2019 02:31, yobani62

Define a pointer named pmenu of type menuitemtype, and use pointer pmenu to go through the list of menu. that is, make pmenu point to the first item in the menu list and access the information of the item pointed by pmenu, and then make pmenu point to the next item, and so on. (note: you need to go through the whole list of the menu in function of showmenu() and printcheck() respectively). void getdata(menuitemtype *pmenu) { … for (int i=0; i< 8; i++) { getline(infile, pmenu-> menuitem); or getline(infile, (*pmenu).menuitem); … pmenu++; } … } int main() { menuitemtype menulist[8]; … getdata(menulist); … } rewrite your program to implement the same jobs. the following is the description of problem 2 of lab 8: write a program to a local restaurant automate its breakfast billing system. the program should do the following:
a. show the customer the different breakfast items offered by the restaurant.
b. allow the customer to select more than one item from the menu.
c. calculate and print the bill assume that the restaurant offers the following breakfast items.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:20, owoeli
Which of these is a benefit of social networking? oa. hiding your true identity from friendsob. avoiding talking to people in personoc. spending time with friends instead of studyingod. connecting with new people
Answers: 2
image
Computers and Technology, 22.06.2019 09:00, 19elbatawisaly
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
image
Computers and Technology, 22.06.2019 22:30, josephmelichar777
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value. a member function called setscore that accepts a parameter and assigns it to score . the function returns no value. a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
image
Computers and Technology, 23.06.2019 16:00, keyonaemanieevans
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
Do you know the correct answer?
Define a pointer named pmenu of type menuitemtype, and use pointer pmenu to go through the list of m...

Questions in other subjects:

Konu
Mathematics, 20.03.2020 18:12