Question: 1. Write a program that prompts the user to input three integer values and find the greatest value of the three values. Note: Be

1. Write a program that prompts the user to input three integer values and find the greatest value of the

1. Write a program that prompts the user to input three integer values and find the greatest value of the three values. Note: Be careful when handling equal values. 2. Write a program that finds the largest and smallest of four integers entered by user. Enter four integers: 21 43 10 35 Largest: 43 Smallest: 10 3. Write a program that checks if entered year is a leap year. (A leap year is a multiple of 4, and if it is a multiple of 100, it must also be a multiple of 400.) 4. Write the program that converts a numerical grade into a letter grade. The scale is as following: 90-100A, 80-89 B, 70-79 -> C, 60-69 -> D, 0-59-> F. If the entered number is larger than 100 or less than 0, give some error message as output. OUTPUT Enter a numerical grade: 811 Letter grade: B 5. Write a program that will let the user enter the number and then it will output "even" if the number is even, and "odd" if the number is odd. EXAMPLE OUTPUT 1 Enter the number: 369 The number is odd EXAMPLE OUTPUT 2 Enter the number: 866 The number is even 6. Write a program that will prompt user to enter a 4 digits integers and separate integer into digits. 7. Write a program that prompts the user to enter an integer and checks whether the number is divisible by both 5 and 6, or neither of them, or just one of them. Here are some sample outputs for inputs 10,30, 23. EXAMPLE OUTPUT 1 Enter the number 10 10 is divisible by 5 or 6, but not both EXAMPLE OUTPUT 2 Enter the number 30 30 is divisible by both 5 and 6 EXAMPLE OUTPUT 3 Enter the number 23 23 is not divisible by neither 5 or 6

Step by Step Solution

3.48 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Python 1 numbers intx for x in inputEnter four integers split largest maxnumbers smallest minnumbers ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!