Question: Submit three c++ files: 1. Write a program that prompts the user to input a number. The program should then output the number and a

Submit three c++ files:

1. Write a program that prompts the user to input a number. The program should then output the number and a message saying whether the number is positive, negative, or zero.

********************************************************************************************************************************************

2. Write a program that prompts the user to input three numbers. The program should then output the numbers in ascending order.

******************************************************************************************************************************************** 3. In a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sides. Write a program that prompts the user to enter the lengths of three sides of a triangle and then outputs a message indicating whether the triangle is a right triangle.

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!