#C language operations 007

This work belongs to the curriculum C Programming Language II
Where the job requires operation
My aim in this course is Master switch grammar, familiar programming skills.
This job helped me achieve that goal in terms of specific Basic programming exercises, knowledge expand my horizons.

1PTA jobs


EC 7-12 student achievement (15 points)

1.1.1 Screenshot experiment code

1.1.2 Job Submission

1.1.3 build test data

Input data Output Data Explanation
7 77 54 92 73 60 65 69 1 0 2 3 1 Sample
6 60 70 77 68 80 69 1 0 2 2 1 No error

1.1.4 Data processing and expression
data Expression: The definition of n, i, count, a, four integer variables, ABCDE = 0.
Data processing: for (int I =. 1; I <= n-; I ++) {
Scanf ( "% d", & result) ;
input scores count
calculated level a
calculated each grade data switch statement classification
return 0
7-10 calculate the number (15 points) days of
this question requires the preparation of program calculates a certain period of a day it is the first of the year in a few days.
Input gives the date in the format "yyyy / mm / dd" (i.e., "year / month / day") in a row. Note: Criterion leap year is the year of the year divisible by 4 but not divisible by 100, or divisible by 400. Leap year February has 29 days

1.2.1 Screenshot experiment code


1.2.2 submit the list

1.2.3 build test data

data Output Data Explanation
2009/03/02 61 Sample
2019/01/10 10 Correct

1.2.3PTA Description
Q1: do a lot of trouble, I took a break wrote braek
A1: find a good correction, correct the
1.2.4 Data processing and expression
data representation: This question using the if else statements and branch structure and switch statements.
data processing:

2. Code peer assessment

One,
Ta

me

Q1: his code written arduous complex. Is not complete, there are many places you can improve

A1. My neater. Consistent,

3. learning summary

3.1 learning progress bar

week This week the time spent Lines of code Learned knowledge Introduction Currently more confusing issues
Sixth Week 12 hours 125 line Formatting input function scanf (), for loop no
Week Seven 19 hours 286 line Branch structure no
Eighth Week 15 hours Line 338 Defining and calling functions No
Week Nine 18 hours 422 line if-slse statement no
The tenth week 20 hours Line 488 switch

3.2 Cumulative lines of code words and blog

time Lines of code Words blog
Sixth Week 130 850
Week Seven 190 1050
Eighth Week 250 1390
Week Nine 380 1670
The tenth week 450 1890

3.3 Summary and perception of learning content

3.3.1 learning content summary
learn many types of functions, need lots of consolidating, strengthening exercises. quality improvement.
2. Maintain a study of heart. Persevere. Let yourself to do better.
3. To consolidate the use of the switch statement, branch structure, use function calls. .

Guess you like

Origin www.cnblogs.com/QQ709678842/p/11823340.html