Home > Back-end >  Urgent urgent!!!!!! Online, such as novice why choose structure and cannot perform a table joke
Urgent urgent!!!!!! Online, such as novice why choose structure and cannot perform a table joke

Time:09-27

#include
using namespace std;
Int main ()
{
Char name [10].
Int a;
cout<" What do you think of me? "& lt; Cin> The name;
cout<" Makes you feel choose a digital \ n1 or 2 "& lt; Cin> The name;
If (a=2)
cout<" * * * * \ n \ n * * * * * * * * * * * * \ n \ n \ n * * * * ";
The else
cout<" Ha, ha, ha, you are fool!" return 0;
}

CodePudding user response:

. # include
Using nam. # include
using namespace std;
Int main ()
{
Char name [10].
Int a;
cout<" What do you think of me? "& lt; Cin> The name;
cout<" Makes you feel choose a digital \ n1 or 2 "& lt; Cin> a;//change here
If (a==2)//changing here
cout<" * * * * \ n \ n * * * * * * * * * * * * \ n \ n \ n * * * * ";
The else
cout<" Ha, ha, ha, you are fool!" return 0;
}
Espace STD.
Int main ()
{
Char name [10].
Int a;
cout<" What do you think of me? "& lt; Cin> The name;
cout<" Makes you feel choose a digital \ n1 or 2 "& lt; Cin> a;//change here
If (a==2)//changing here
cout<" * * * * \ n \ n * * * * * * * * * * * * \ n \ n \ n * * * * ";
The else
cout<" Ha, ha, ha, you are fool!" return 0;
}

CodePudding user response:

. # include
using namespace std;
Int main ()
{
Char name [10].
Int a;
cout<" What do you think of me? "& lt; Cin> The name;
cout<" Makes you feel choose a digital \ n1 or 2 "& lt; Cin> a;//change here
If (a==2)//changing here
cout<" * * * * \ n \ n * * * * * * * * * * * * \ n \ n \ n * * * * ";
The else
cout<" Ha, ha, ha, you are fool!" return 0;
}

CodePudding user response:

Quote: refer to 1st floor jone7319 response:

. # include
Using nam. # include
using namespace std;
Int main ()
{
Char name [10].
Int a;
cout<" What do you think of me? "& lt; Cin> The name;
cout<" Makes you feel choose a digital \ n1 or 2 "& lt; Cin> a;//change here
If (a==2)//changing here
cout<" * * * * \ n \ n * * * * * * * * * * * * \ n \ n \ n * * * * ";
The else
cout<" Ha, ha, ha, you are fool!" return 0;
}
Espace STD.
Int main ()
{
Char name [10].
Int a;
cout<" What do you think of me? "& lt; Cin> The name;
cout<" Makes you feel choose a digital \ n1 or 2 "& lt; Cin> a;//change here
If (a==2)//changing here
cout<" * * * * \ n \ n * * * * * * * * * * * * \ n \ n \ n * * * * ";
The else
cout<" Ha, ha, ha, you are fool!" return 0;
}
  • Related