Summary of the fourth day of Camp David

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.