C program design
2017-12-18
0 0 0
no vote
Other
Earn points
Write a program, input a positive integer, judge the parity of the number (directly using Boolean expression). Experimental example 2: write a program, according to the student's performance are given different evaluation (the best choice if nested way). Below 60, 60-69, 70-79, 80-89 and 90-100 were unqualified, medium, good and excellent. Experimental example 3: department store discount, shopping 100 yuan to yuan discount, 100-499 discount 5%, 500-999 discount 10%, 1000-4999 discount 15%, more than 5000 discount 20%, write a program to achieve customers to buy any amount of goods, the actual amount should be paid. 2. Write switch statement program experimental example 4: use switch statement to write program, input integer between 0 and 10, judge the parity of the number. Experimental example 5: use switch statement to write the program, write the program, and give different evaluation according to the students' grades, & nbsp; below 60 is failed, 60-69 is passed, 70-79 is medium, 80-89 is good, 90-100 is excellent
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
Golang AOA Android Open Accessory HID Control
0
0
no vote
PClite
0
0
no vote
GMSK Linear Receiver
0
0
no vote
The golden version of AFT that has been passed dow
0
0
no vote
No comment