C language blog I work 04
This work belongs courses | Where the job requires | My aim in this course is | In particular aspects of the job which helped me achieve goals | references |
C Programming Language I | https://edu.cnblogs.com/campus/zswxy/CST2019-1/homework/9768 | Able to skillfully master the programming language and grammar proficiency in the process of doing homework | Every homework memories are consolidated by using Markdown format | Baidu Encyclopedia, know almost |
1PTA lab assignments
1.1 Topic
1.1.1 Data Processing
Data are expressed: the definition of a constant integer N, a double-precision floating-point constants sum, x, i
Data processing: determining N input upper limit, the initial value is defined sum 1, setting an initial value for loop i = 1, N is an upper limit, setting the accumulated loop, using pow (-1, (i + 1)) to achieve staggered effect.
1.1.2 Code
1.2.3 Test Data
1.2.4PTA submit a list and description
This question I asked at the students came over and over again. . . . . Fortunately, there are no other errors
1.2 Topic
1.2.1 Data Processing
Data are expressed: the definition of a constant integer m, n, double-precision floating-point constants sum, x, i.
Data processing: input m, n, i is assigned the value of m, the sum defined initial value of 0, for establishing loop, i is a predetermined upper limit of n, the loop is set so that the accumulation result, and i each have a plus Finally, the output sum.
1.2.2 Code
1.2.3 Test Data
1.2.4 PTA submit a list and description
This question is do not pay attention when the decimal point six times in the back also sum output figures behind the leak that led to the wrong answer
3 learning summary
3.1 learning progress bar
Week \ Date | This week the time spent | Lines of code | Learned knowledge | Currently more confusing issues |
4\10.16 | 2 hours | About 100 | for loop if-else | Buyer No |
3.2 Cumulative lines of code words and blog
3.3 learning content and insights.
3.3.1 learning content summary
Pharmacodynamic this week for loop, the accumulated data is achieved according to the law by setting an initial value and an upper limit, and incrementally, one of the difficulties is the design of the loop
As for this problem you will need to connect the line into the circulation system
3.3.2 Learning Experience
I think this lesson a little strange, listen to understand part one to know what is going on, I do not know where to spend a lot of time to learn still dizzy head no brain, some knowledge to understand quickly but some would have no clue .