subject

[25] write a c++ console application that prompts the user to input the length of a triangle (a, b, and c) and outputs the shape of the triangle. a) define an enumeration type triangletype that has values: i. equilateral, which is if all sides are the same; ii. scalene, which is if no two sides are the same; iii. isosceles, which is if any two of three sides are the same; iv. and notriangle. b) write a function triangleshape that takes as parameters three numbers, each of which represents the length of a side of the triangle. the function should return the shape of the triangle. (note: in a triangle, the sum of lengths of any two sides must be greater than the length of the third side.) c) write a sentinel controlled loop, that prompts the user to run the program until they enter the value "x", which will terminate the program. use appropriate parameters and do not include any global variables. take a screenshot of your output with the following inputs: i. 3,4,5 ii. 1,7,3

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
You know the right answer?
[25] write a c++ console application that prompts the user to input the length of a triangle (a, b,...
Questions
question
Mathematics, 30.07.2021 21:30
question
Mathematics, 30.07.2021 21:40
question
Mathematics, 30.07.2021 21:40