Question: Exercise 3 Write a C++ program that reads any number between -100.0 and 100.0. The program should classify the number if it is either: positive,

 Exercise 3 Write a C++ program that reads any number between

Exercise 3 Write a C++ program that reads any number between -100.0 and 100.0. The program should classify the number if it is either: positive, negative, or zero. Also, the program must check if number is multiple of 2 or 3 or both. The program then displays the following message according the input: Input -22 14 24 0 Message 22 is: a negative number: multiple of 2 14 is: a positive number: multiple of 2 24 is: a positive number: multiple of 2 and 3 zero

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!