# C language I blog assignment 05

2020-11-20 23:20:08 N，c

Which course does this assignment belong to https://edu.cnblogs.com/campus/zswxy/SE2020-2
Where are the requirements for this assignment https://edu.cnblogs.com/campus/zswxy/SE2020-2/homework/11527
The goal of this assignment < Learned new data types , Yes if else The sentence has a deeper understanding >
Student number <20209120>

# One 、 This week's content & The goal is

The first 3 Chapter Branching structure 3.1-3.2 Familiarize students with multi branch structure 、 Character data types and logical operators .

# Two 、 This week's homework

Which course does this assignment belong to C Language programming II
Where are the requirements for this assignment https://edu.cnblogs.com/campus/zswxy/SE2020-2/homework/11527
My goal in this course is < Learn to use character type , Strengthen your logical ability >
This assignment helps me achieve my goal in that specific aspect < Know how to use character type to solve problems , Know how to use if else Embedding of >
reference <C Language programming >

# 3、 ... and 、 Homework this week

1.PTA Experiment assignment
2. Code reviews
3. Learning summary

# Four 、 Assignment format

## 1.1 Title 1

use if-else Statement programming , Based on the input of the 100 point score score（ Integers ）, To the corresponding five point system grade Post output .

When 90≤ score≤100 when , grade=A ;

When 70≤ score<80 when , grade=C;

If you enter grades score<0 or score>100, The output “Input error!”.

## 1.1.1 Data processing

Data expression : Variables are used score, Type is plastic ,score Assignment comes .
Data processing ： Use of the if else structure .

## 1.1.3 Make test data

input data Output data explain
58 E 0<=score<60
67 D 60<=score<70
76 C 70<=score<80

## 1.2 Title 2

Read a from the keyboard 4 Integers of digits , How many bits in the number are 7？

## 1.2.1 Data processing

Data expression ： Variables are used a,b,c,d, It belongs to character type , From your own assignment .
Data processing ： Use of the if else structure .

## 1.2.3 Make test data

input data Output data explain
3654 0 a!=7b!=c!=7d!=7
7777 4 a=7b=7c=7d=7

## 2. Code reviews

Screenshot of classmate code

Screenshot of my own code

## 2. I separate boys and girls , And he said it together .

Screenshot of classmate code

Screenshot of my own code

## 3.1 Learning progress bar

Zhou / date Time spent this week Lines of code Brief introduction of the knowledge learned The confusing question at present
Week eight /10.19~10.25 21 Hours 123 Learned to type with code Hello World! nothing
Week 9 /10.26~11.1 18 Hours 389 Learned to use code to calculate addition and subtraction nothing
Week 10 /11.2~11.8 14 Hours 526 Learned to use for Loop statement The use of shaping and floating point types
Week 11 /11.9~11.15 18 Hours 638 Learned to use the calling function , Calculation n! Where to call a function
Week 12 /11.16~11.22 16 Hours 864 Learned to use character type ,if else structure How to convert character type to other data type

## 3.2 Accumulate lines of code and blog words

Time Blog words Lines of code
Week eight 172 123
Week 9 355 389
Week 10 658 526
Week 11 868 638
Week 12 946 864