Question: 1. Write a C++ program to read two negative numbers. Display two numbers. Find absolute value of each number using abs (input) function of math.h
1. Write a C++ program to read two negative numbers. Display two numbers. Find absolute value of each number using abs (input) function of math.h library. 3. Write a C++ program to read a diameter of a circle. Find perimeter and area of the circle. Perimeter Diameter *PI Area R2 * Pl or Area pow(R,2) * PI Radius Diameter/2 5. Write a C++ program to read three sides of a triangle. Display three sides. Use Pythagorean theory to find if the triangle is a right triangle. Display true if it is a right triangle; otherwise display false. Pythagorean theory: a2 b2 c2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
