Question: 4- Write a program that will ask the user to enter an integer n (positive, negative or zero). The program checks if the number is

4- Write a program that will ask the user to enter an integer n (positive, negative or zero). The program checks if the number is positive, negative or zero and displays an appropriate message. A B 5- Ask the user to enter an integer n. Your program checks if n is even or odd and prints an appropriate message. Test your programs at least 4 times with even and odd numbers. 6- At a particular school, letter grades correspond to numeric scores according to these rules: Raw Score Letter Grade 93 or above From 84 to 92 inclusive From 75 to 83 inclusive From 60 to 74 inclusive Below 60 Write a program that asks the user to enter a numeric integer score (0-100) and print out the letter grade. Test your program for the following grades: 0,55, 60, 74, 97, and 87. Sample output for numeric grade 75: Your numeric grade is 75 Your letter grade is C D F
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
