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 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
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, 23.03.2021 01:00
question
Biology, 23.03.2021 01:00
question
Mathematics, 23.03.2021 01:00
Questions on the website: 13722360