Work report > Experiment report

C language experiment report "Logical Structure Programming"


Student ID: __________ Name: __________ Class: __________ Date: __________

Instructor: __________ Grade: __________

Experiment 2 Logical Structure Programming I. Experimental Purpose
1, learn to use logical operators and logical expressions correctly
2, proficient in if and switch statements
3, proficient in using the while statement, do-while statement and for statement to achieve loopback method
4. Master the common algorithms in programming. II. Experimental content
1. Enter the percentage system score and ask for the output grades 'A', 'B', 'C', 'D', 'E'. 90 points or more is 'A', 80-89 is divided into 'B', 70-79 is divided into 'C', 60-69 is divided into 'D', and 60-min is 'E'.
2, seeking 1! +2! +3! +4! + ... +20!
3. Write the program and output the following graphics:
*******
*****
***
*
Third, the experimental steps and processes


Physical Experiment Report·Chemical Experiment Report·Biological Experiment Report·Experiment Report Format·Experiment Report Template

Fourth, the program debugging record

recommended article

popular articles