
Bother the great spirit guide, small white
CodePudding user response:
How do you write this program?CodePudding user response:
# include & lt; Stdio. H>
Int main () {
Int n, I;
Char s [100];
The scanf (" % d ", & amp; n);
getchar();
If (1 & lt;=n & amp; & n<100) {
For (I=0; iFor (I=0; i } else {
Printf (" 1 & lt;=n<100 \ n ");
}
return 0;
}
//enter
//7
//I + U - $=*
//output
//II
//+ +
//UU
//-- --
//$$
//==
//* *
CodePudding user response:
This is a c + +? Can again a little bit more simple, the scanf (" % d ", & amp; n); Getchar hasn't learned?

CodePudding user response: