I found this and was planning to adapt it because one of my programs says " how are you?" then u enter something and it says you are: (what ever u enterd) but then i want to make the program say "Arn't you gonna ask me how i am?" then u get 2 options:Code:#include <iostream.h> #include <conio.h> int main() { int input; cout<<"1. Play game"; cout<<"2. Load game"; cout<<"3. Play multiplayer"; cout<<"4. Exit"; cin>>input; switch (input) { case 1: playgame(); break; case 2: loadgame(); break; case 3: //Note use of : not ; playmultiplayer(); break; case 4: } return 0; }
1, yes
2,no
1,gives u maybe a blank field were u can type something
2 terminates the program
After you clicked "1" and typed something i want it to say "i'm fine thanks!" then terminate.
Thanx! Sounds complex i know but i don't think it is
PS:is it possible on 1, if u type something that isn't identical"how are you" it will say "you still havn't asked me how i am!"