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