Home > Back-end >  The photocopier
The photocopier

Time:10-28


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? , kids don't understand, I also can't,

CodePudding user response:

reference Ethan1201 reply: 3/f
this is a c + +? Can again a little bit more simple, the scanf (" % d ", & amp; n); Getchar hasn't learned? , kids don't understand, I also can't,
 # include 
using namespace std;
Int main () {
String a;
int n;
Cin> N> a;
for(int i=0; ireturn 0;
}
  • Related