Question: 9 . ( General math ) a . Write, run, and test a C + + program that accepts a user - input integer num

9.(General math) a. Write, run, and test a C++ program that accepts a user-input integer num-
ber and determines whether its even or odd. Display the entered number and the message
Even or Odd.
b. Modify the program written for Exercise 9a to determine whether the entered number is
evenly divisible by a user-specified value, with no remainder. That is, is it evenly divisible
by 3,7,13, or any other user-specified value?

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!