Home > Back-end >  Pray god to see
Pray god to see

Time:10-18

Using c + + output, implore you

CodePudding user response:

cout<" Several blanks AB "& lt; CodePudding user response:

1/f, reference and 蘤 old crepe response:
cout<" Several blanks AB "& lt;

Have not a complete c + + statements

CodePudding user response:

# include
using namespace std;
Int main () {return 0; }

Don't learn to solve problems by themselves never learn

CodePudding user response:

The for loop to print,
For example

for(int i=0; i<4. I++) {
for(int j=0; J<(3 - I) * 2; J++) {//print space
Printf (" ");
}
for(int j=0; J<2 + I; J++) {//print letter
Printf (" % c ", 'A' + j).
}
printf("\n");//print a newline
}
  • Related