Question: (Using If-Else Chain) An acute angle is less than 90 degrees, an obtuse angle is greater that=n 90 degrees, and a right angle is equal
(Using If-Else Chain) An acute angle is less than 90 degrees, an obtuse angle is greater that=n 90 degrees, and a right angle is equal to 90 degrees. Using the information, write a C++ program that accepts an angle, in degrees, and displays the type of angle corresponding to the degrees entered. (Using Switch Statement) A. Write a program that accepts two real numbers and a select code from a user. If the entered select code is 1, have the program add the two previously entered numbers and display the result, if the select code is 2, the numbers should be multiplied, and if the select code is 3. the first number should be divided by the second number. B. Determine what the program written in Exercise 2a does when the entered numbers are 3 and 0 and the select code is 3 C. Modify the program written in Exercise 2a so that division by 0 is not allowed, and a message is displayed when this division is attempted
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
