Home > Back-end >  Small new question mark greatly
Small new question mark greatly

Time:10-08

#include
Void Simon (int n);

Int main ()
{
using namespace std;
Simon (3);
Cout & lt; & lt; "Pick an integer:";
int count;
Cin & gt;> The count.
Simon (count);
Cout & lt; & lt; "Done!" & lt; & lt; endl;
return 0;
}

Void simo (int n)
{
using namespace std;
Cout & lt; & lt; "Simon says touch your toes" & lt; & lt; N & lt; & lt; "Times," & lt; & lt; endl;
}

From the vod simo (int n) can't run here,
To solve the question mark, the couple don't know

CodePudding user response:

Should you enter a number

CodePudding user response:

#include
using namespace std;
Void simo (int n) {
Cout & lt; & lt; "Simon says touch your toes" & lt; & lt; N & lt; & lt; "Times," & lt; & lt; endl;
}
Int main () {
Simo (3);
Cout & lt; & lt; "Pick an integer:";
int count;
Cin & gt;> The count.
Simo (count);
Cout & lt; & lt; "Done!" & lt; & lt; endl;

return 0;
}
  • Related