Original Post
Hi,
I am new to the developing community and I was writing a small app for my french class and I need some help. I just can't figure it out. I want you to be able to select the menu and I can't get the syntax right. Tips on developing also welcome!
[size="1"]Poll removed, please see the forum FAQ. -- jpetrie
I am new to the developing community and I was writing a small app for my french class and I need some help. I just can't figure it out. I want you to be able to select the menu and I can't get the syntax right. Tips on developing also welcome!
#include <iostream.h>
using namespace std;
int a;
int main(){
int b;
cout << "Welcome to the interactive Cafe Les Cinq E'Toiles Menu. Please Select 1 for Bevrages, 2 for Entrees, and 3 for Dessert.";
cin >> a;
if (a = 1)
cout << "Bevrage Menu. Cafe de Lait: 2€50 Cafe de Creme: 3€ ";
cin >> b;
else if (a = 2)
cout << "Entree Menu. ";
cin >> b;
else if (a = 3)
cout << "Dessert Menu. ";
cin>> b;
system("pause");
}
[size="1"]Poll removed, please see the forum FAQ. -- jpetrie