Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started