[solved] – Question 95687

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

Ask the user to enter the values for 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 * the base * height.

Please note the final area should be in decimal format.

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
The following content is partner provided
i need a code to where i can input the size of the sides and find the area

Expert Answer


[solved] – Question 95689

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

Ask the user to enter the values for 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 * the base * height.

Please note the final area should be in decimal format.

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

Expert Answer


[solved] – Question 95708

using linked list. develop a program that will prompt a user to insert any number of elements. the program should display the number of elements that the user will have decided to create.

Expert Answer


[solved] – Question 95709

debug the following vector code,correct the errors then display the output and the correct codes:
#include<iostream>
#include<vectors>
using namespace std;
int main()
{
vector<doauble>;
students_marks(5)
for (i)(vectors<double>:::size_type i=0;i<5;i++)
{
count <<<“enter marks for students #”<<<i+1
<<“:”<<flush.
cin>>student_marks[i]>>;
{
}
return void null 0;
}

Expert Answer


[solved] – Question 95712

using deque ( double ended queue) standard template library. develop a program that uses the keyword push_back to add element at the end and push_front to insert element at beginning.
the program should then list the size of the deque.

Expert Answer


[solved] – Question 95724

What are some examples of casual (and incorrect) use of AND and OR decisions? As a programmer, how might you ensure that the problem is well defined before you start coding

Expert Answer


[solved] – Question 95739

So im trying to write a program that prompts the user for a number (integer) of inches and then expresses that distance as a number of miles, yards, feet and inches. This is an example my professor gave me and I cant seem to figure it out.
Enter the number of inches: 100000
1 mile(s)
1017 yards(s)
2 foot/feet
4 inch(es)

Expert Answer


[solved] – Question 95740

Use the correct HTML tags to define a form in the HTML document that will allow a user to enter information about members of a club that learns new Internet Technologies. The form should have the following:
1) A label for each textbox of “Full name”, “Date of birth”, and “Gender”.
2) Three text boxes of full name, date of birth and gender.
3) A text area (you can make it 10 lines and 100 character positions but different dimensions are okay)
4) Three buttons for NEXT, DISPLAY, and CLEAR

Expert Answer


[solved] – Question 95766

Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program needs to output the phrase Greater than 45.6.

Expert Answer


[solved] – Question 95769

For this program, we will create a highlighted map around centered on your neighborhood, with the region within about a 1/4 mile box at full brightness, the region that outside that box at 50% brightness.
Create a .png file of a satellite map, centered on your neighborhood (Google maps works well for this, but you can use any mapping site to create your base map).
Write a Python program that reads in an image and saves the image to another file. Run your program to make sure the reading and saving of an image works.
Set the upper region of the image to 50% brightness Run your program to make sure it has dimmed up the upper region and adjust to get the correct dimensions.
Set the lower region of the image to 50% brightness. Run your program and fix any bugs.
Next, dim the side regions

Expert Answer