Home > Back-end >  In c language expression. High heart.
In c language expression. High heart.

Time:06-06

# include & lt; Stdio. H>
# include & lt; Conio. H>
Int main ()
{
Int I, j, k, l, m; Char c=3; 3//ASCII is a small character love
For (I=1; i<=5; I++)
printf("\n");
For (I=1; i<=3; I++)
{
For (j=1; J<=32-2 * I; J++)
Printf (" ");
For (k=1; K<=I + 4 * 1; K++)
Printf (" % c ", c);
For (l=1; L<=13-4 * I; L++)
Printf (" ");
For (m=1; M<=I + 4 * 1; M++)
Printf (" % c ", c);
printf("\n");
}
For (I=1; i<=3; I++)
{
For (j=1; J<=24 + 1; J++)
Printf (" ");
For (k=1; K<=27; K++)
If (k==8) printf (" L ");
Else if (k==10) printf (" O ");
Else if (k==12) printf (" V ");
Else if (k==14) printf (" E ");
Else if (k==18 | | k==20) printf (" love ");
The else printf (" % c ", c);
printf("\n");
}
For (I=7. I>=1; I -)
{
For (j=1; J<=40-2 * I; J++) printf (" ");
For (k=1; K<=4 * I - 1; K++) printf (" % c ", c); printf("\n");
}
For (I=1; i<=39; I++) printf (" ");
Printf (" % \ n "c, c);
For (I=1; i<=5; I++) printf (" \ n ");
getchar();
return 0;
}

CodePudding user response:

Thank you, super useful

CodePudding user response:

To show off, still be inferior to a printf to reality,

CodePudding user response:

 printf ("?" ); 

CodePudding user response:

This kind of problem, when I take an examination of the C language, be played 60 minutes!!! The answer to the 4th floor hit 100 points!

CodePudding user response:

Playing out not ah

CodePudding user response:

reference 5 floor qq_45931418 reply:
typed wrong oh

It has to do and operation mode. Look at the two figures (note the same running below the ide) :

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related