Question: language: C++ a. Write a program statements that prompt to the user to enter an integer, then checks whether the integer is an even number

 language: C++ a. Write a program statements that prompt to the language: C++

a. Write a program statements that prompt to the user to enter an integer, then checks whether the integer is an even number and divisible by 9. Then, display the appropriate message. (Note: An integer is divisible by 9 when it divides perfectly by 9 and leaves no remainder) (4 marks) b. Write the program statements that prompt the user for an integer number, and using for loop calculate and display the total number of the integer (Note: User must input the number of terms. For example, if the term input is 5, the calculation is the total of 5 integer number) (6 marks) C. A professor has collected his student's test marks. Your program can read the marks until the sentinel value -1 is entered by the user. Write a program to check and display the number of students, the average of mark, and the highest marks of the student. (10 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!