Today, tea continues to explain the knowledge points and precautions of C language to us. As there is no foundation, the learning progress is very slow. Although many things are hard to understand, the more difficult it is to understand, the greater the charm of programming, even if I only let the computer output a hello, I also have a sense of accomplishment, the charm of the programming world is hard to resist, today big tea gave us a question, I cannot write my skills for the moment, so I think of some small questions to train my logical thinking ability. The following is my code today.
Int ROW = 5, column = 5; // first set the number of rows and columns for (INT I = 0; I <= row; I ++) // set the cycle condition {for (Int J = 0; j <= column-I; j ++) {// set the cycle condition printf ("% d ", 1);} printf ("\ n");} printf ("loop ends \ n"); Return 0 ;}
The output result is:
111111
11111
1111
111
11
1
Loop ends
Program ended with exit code: 0
The logic thinking ability has not been exercised, and the scalp has to be divided into several layers. We need to do more questions and perform computation with ourselves. Continue to cheer ~~~
Summary of the fourth day of Camp David