subject

For this lab you will find the area of an irregularly shaped room with the shape shown above.

ask the user to enter the values for the sides a, b, c, d, and e and print out the total room area.

remember the formula for finding the area of a rectangle is length * width and the area of a right triangle is 0.5 * base * height.

note the final area should be in decimal formula.

sample run :

enter side a : 11

enter side b : 2

enter side c : 4

enter side d : 7

enter side e : 1

output :

room area: 53.5

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
Given the following code: if (n == 2) { k -= 2; } else if (n == 3) { k -= 3; } can be rewritten as: if (< condition > ) { < assignment statement > ; } assume that evaluating < condition > does not change the values stored in n and k. which of the following could be used as < assignment statement > ? k -= n; k -= 1; k -= 2; k += n; k = n - k;
Answers: 2
question
Computers and Technology, 22.06.2019 05:00
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Terri needs to insert a cover page into her document. where should she go to access the commands to do so? o insert tab, objects group o insert tab, illustrations group o insert tab, pages group o insert tab, media group submit
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
You know the right answer?
For this lab you will find the area of an irregularly shaped room with the shape shown above.
<...
Questions
question
History, 13.01.2021 16:30
question
Mathematics, 13.01.2021 16:30
question
Engineering, 13.01.2021 16:30
question
History, 13.01.2021 16:30
question
English, 13.01.2021 16:30
Questions on the website: 13722363