subject

Please Someone helpAsk the user to enter username and password. Loop until the user's username and password are correct. Allow users to enter incorrect username or password ONLY 3 times. 10ptsCreate a main menu for the user to choose among: 10ptsPizza - $23.00Wings - $9.50Chilli Fries - $7.75ExitAsk the user the amount of food they want to order. 5ptsAsk the user if that is all they want to order. If yes, print out their total. 10ptsIf no, take them to main menu. 10ptsIf they make different orders from the main menu, keep account of their total bill. 20ptsWhen the user decides they want nothing else, display their correct final bill. 15ptsDisplay the user's total with two decimal places. (You can use the #include library and use it as cout

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:50
Define a class named movie. include private fields for the title,year, and name of the director. include three public functions withprototypes void movie: : settitle(cstring); , voidmovie: : setyear(int); , void movie: : setdirector(string); . includeanother function that displays all the information about a movie.write a main() function that declares a movie object namedmyfavoritemovie. set and display the object's fields.this is what i have but know its wrong since it will notcompile: #include#includeusing namespace std; //class declarationclass movie{private: string movietitle ; string movieyear; string directorname; public: void settitle(string title); void setyear(string year); void setdirector(string director); void displayinfo(); }; //class implementationvoid movie: : settitle(string title){ movietitle = title; cout< < "what is the title of themovie? "< > temp; myfavoritemovie.settitle(temp); cout< < "enter movie year"< > temp; myfavoritemovie.setyear(temp); cout< < "enter director'sname"< > temp; myfavoritemovie.setdirector(temp); //display all the data myfavoritemovie.displayinfo(); system("pause"); return 0; this code is not entirely mine someone on cramster edited my firstcode but then i try manipulating the new code and i still get acompile error message : \documents\visual studio 2008\projects\movie\movie\movie.cpp(46) : error c2679: binary '< < ' : no operator found which takes aright-hand operand of type 'std: : string' (or there is no acceptableconversion)c: \program files (x86)\microsoft visual studio9.0\vc\include\ostream(653): could be'std: : basic_ostream< _elem,_traits> & std: : operator< < > (std: : basic_ostream< _elem,_traits> & ,const char *)w
Answers: 1
question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 24.06.2019 22:30
Distinguish between a skill resume and a chronological resume and explain when it is best to use each format
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
If you have watched pretty little liars(pll)what are the names of the main characters? all of them and the boyfriends and girlfriends too.
Answers: 2
You know the right answer?
Please Someone helpAsk the user to enter username and password. Loop until the user's username and p...
Questions
question
Physics, 25.11.2021 15:50
question
Mathematics, 25.11.2021 15:50
question
Mathematics, 25.11.2021 15:50
question
World Languages, 25.11.2021 15:50
question
Biology, 25.11.2021 15:50
question
English, 25.11.2021 15:50
Questions on the website: 13722362