The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
#include<iostream>
#include<cctype>Â Â Â Â Â Â // for toupper()
using namespace std;
Â
int main()
{
// Declare program variables for user input.
char restaurantChoice;
Â
// Prompt and get user's choice for restaurant.
cout << "Enter your choice for Restaurant" << endl
<< "(M)cDonald's, (O)utback, or (G)ibsons: ";
cin >> restaurantChoice;
Â
// Ensure restaurantChoice is uppercase
restaurantChoice = toupper(restaurantChoice);
Â
cout << endl;
Â
// TODO: Print the appropriate message, based on the user's entry.
//Â Â Â If the user did not enter M, m, O, o, G, or g,
//Â Â Â print a message about an invalid choice
// You MUST use if...else if...else if...else...
Â
Â
Â
cout << endl;
Â
cout << "nEnd Program" << endl;
Â
return 0;
Â
how do i do the "todo" part?
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly