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...


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

Extracted text: 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 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 -22 14 24 zero

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here