D
E
A
C
B
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" heigh
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
Sample Output
Room Area: 53.5

DEACBFor This Lab, You Will Find The Area Of An Irregularly Shaped Room With The Shape As Shown Above.Ask

Answers

Answer 1

In python:

a = float(input("Enter side A: "))

b = float(input("Enter side B: "))

c = float(input("Enter side C: "))

d = float(input("Enter side D: "))

e = float(input("Enter side E: "))

print(f"Room Area: {(a * b) + ((a - c) * (d - (b + e))) + (0.5*(a - c) * e)}")

I hope this helps!


Related Questions

Urgent Please Help ASAP!! 50 Points!! Assignment due in 15 minutes!!

Reflect on the questions below.

1.) Why do some people resist help from others?
2.) Is it useful to work separately at some point in time during pair programming?
3.) How is pair programming beneficial?
4.) In pair programming, how can we better work together?

Answers

Questions:

1.) Why do some people resist help from others?

2.) Is it useful to work separately at some point in time during pair programming?

3.) How is pair programming beneficial

4.) In pair programming, how can we better work together?

Answers:

1.) Some people are prideful in their work, or they're just embarrassed to ask for assistance.

2.) It can be done, but pair programming is further effective with others.

3.) Pair programming is beneficial because you can get the job done faster.

4.) In pair programming, you can better work with your partner by working on different sections, and then checking each other's tail when the job is almost finished.

These answers are a combination of my knowledge and opinion(s). If you need any more help, do not hesitate to let me know. Glad I could help! :)

The item in this illustration that is highlighted is _____.



help
the status bar
zoom control
the title bar

Answers

Answer:the title bar

Explanation:

Answer:

I think it's title bar

Explanation:

I'm not positive but another guy said it and its the only one that makes sense

-
Which of the following is an example of academic integrity?
A. You work on each assignment mostly by yourself
B. You don't copy work or allow others to copy your work
c. You look up answers on the internet without citing the source
D. You work with close friends on assignments without instructor approval

Answers

Answer:

B. You don't copy work or allow others to copy your work

Explanation:

The example of academic integrity is that you don't copy work or allow others to copy your work. The correct option is B.

What is academic integrity?

The moral code or ethical policy of academics is known as academic integrity. The R.C., regarded as the "grandfather of academic integrity," popularised the phrase.

Being honest, fair, polite, and responsible in your studies and academic work is referred to as having academic integrity.

It entails acting in accordance with these ideals both when producing your own work and engaging with that of others.

Academic integrity is the practise of doing learning, teaching, and research with the principles of honesty, trust, fairness, respect, and responsibility.

Students, teachers, researchers, and all other staff members should act honestly, take responsibility for their choices, and be fair in all aspects of their job.

Thus, the correct option is B.

For more details regarding academic integrity, visit:

https://brainly.com/question/9540934

#SPJ2

Create a bash shell script for a number guessing game. Here are the requirements: a. Your program generates a random number between 0 and 128 and keeps asking the user to guess the number until the user guesses it correctly. b. If the user guesses a number that is lower or higher than the number to be guessed then indicate that information to the user as a ‘low guess’ or a ‘high guess’ so that the user can get to the correct guess quicker. c. The program keeps track on number of guesses taken by the user to get to the correct guess. This is user’s score. d. Your program asks user for the name and adds user’s name and the score in a file that keeps track of the scores by various users. e. At the end of the game, the program displays the top 3 scores (lowest 3 scores) along with the name of the users to conclude the game. John 4 Sam 7 Tony 10

Answers

Answer:

Here is the bash shell script:

scorefile="scores_bash"

guess=-1

typeset -i n=0

echo -e "guess.bash - Guess a number between 0 to 128\n"

(( answer = RANDOM % 128 + 0 ))

while (( guess != answer )); do

n=n+1

read -p "Enter guess $n: " guess

if (( guess < answer )); then

 echo "Low guesss"

elif (( guess > answer )); then

 echo "High guess"

fi

done

echo -e "You guessed the number in $n guesses.\n"

read -p "Enter your name: " name

echo $n $name >> $scorefile

echo -e "\nScores"  

sort -n $scorefile

Explanation:

The program creates a scorefile as scores_bash to store the names and scores. Next the program initializes the guess with -1. guess is used to store the guess made by user and n is used to store the number of trials user took to guess the correct number. Next the program prompts the user to: Guess a number between 0 to 128 and generates random numbers from 0 to 128 and store it into answer.  Next the while loop keeps repeating until the user guesses the correct number. If the user guess is less than the correct answer then the program displays the message Low guess otherwise displays High guess. When the user guesses the correct number, the loop breaks and the message You guessed the number in $n guesses. is displayed where in place of $n the number of trials user take to guess the number is displayed. Next the user is asked to enter his name.

echo $n $name >> $scorefile statement adds the n which is the user score and name which is the names of user to the score file.  sort -n $scorefile  sorts the file in ascending order to display the lowest  scores. The screenshot of program with its output is attached.

What is the issue with this code

interface Box2{

static final int ITEM_CODE=201;

int method1();

double method2();
}

public class Window implements Box2{

public int method1(){

return ITEM_CODE;

}

}

public class myFrame{

public static void main(String args[]){

Window w = new Window();

System.out.println(w.method1());

}

}

A.
The interface should be declared as abstract.
B.
The class should be declared as abstract.
C.
The interface should have an implementation of method2.
D.
The class should have an implementation of method2.

Answers

Question: What is the issue with this code

interface Box2{

static final int ITEM_CODE=201;

int method1();

double method2();

public class Window implements Box2{

public int method1(){

return ITEM_CODE;

public class myFrame{

public static void main(String args[]){

Window w = new Window();

System.out.println(w.method1());

A. The interface should be declared as abstract.

B. The class should be declared as abstract.

C. The interface should have an implementation of method2.

D. The class should have an implementation of method2.

Answer: A The interface should be declared as abstract.

Which of the following is NOT a characteristic developed by New Journalism?
illustrations and photographs
flashy page layouts
satirical news stories
banner headlines

Answers

Flashy page layouts

The one that is not a characteristic developed by New Journalism is flashy page layouts. The correct option is b.

What are flashy page layouts?

The flashy page Layout describes how the document pages will appear after printing. When we check the layout in Word, we can see that the page layout includes components such as margins, column count, and the ability to alter the header and footer.

There are various sorts of layouts, such as magazine layouts, static, adaptable, dynamic, adaptive layouts, and responsive layouts.

The features are as follows:

Page margin dimensions.Image and figure size and placementColumn and gutter count and size (gaps between columns)Intentional white space placement

Therefore, the correct option is b, flashy page layouts.

To learn more about flashy page layouts, refer to the link:

https://brainly.com/question/28702177

#SPJ2

Myra Wrote a Program and forgot to put the steps in the correct order. Which step does Mya need to Review

A. Pattern Following
B. Planning
C. Segmenting
D. Sequencing

Answers

Answer:

B. Sequencing

Explanation:

I hope this helps you UwU

Answer:

The answer is 'A'

Explanation:

I took the test, and got a 100%

It also makes more sense than the other choices.

Have a good day <3

What are some consequences of posting inappropriate material online? (Choose all that apply)
friends and loved ones might think less of you
you might land in legal trouble
your social media history will be erased from the internet
future employers may not want to hire you.

Answers

Answer:

I think all of them is a consequence of posting inappropriate material online

All except the third one unless it’s something really bad. But otherwise it’s without the third one

Which tab is used to configure an export to PST in Outlook 2016?
Send/Receive
File
Home
Review

Answers

Answer:

File Tab

On the topmost ribbon of MS Outlook, go to the File Tab. Click Options>Advanced>Export. From Import and Export wizard, select Export to a file.

The file tab in Outlook 2016 will be used to configure an export to PST. Then, choice B is the best one.

What is outlook?

On your PC, Outlook Desktop App is already installed. You can access it from the Taskbar or the Start menu on your computer (bottom panel of your screen). By logging into your email account using a web browser that you can use Outlook on the web.

By selecting the "Files" icon in Outlook's lower-left corner, you can reach this view. It will be situated between the "People" and "To-Do" icons by default. If you cannot see it but instead have a three-dot icon, click it and then select "Files" from the menu that appears.

The tab used to configure an export to PST in Outlook 2016 will be known as the file tab. Then the correct option is B.

More about the outlook link is given below.

https://brainly.com/question/17457799

#SPJ6

If String str = "United States";, then what is the value of str.indexOf("united");?

−1
0
1
2
3

Answers

Answer:

-1

Explanation:

due to the fact their is no capital "U" it will -1

The
is an interest inventory that classifies people according to six different types: Realistic, Investigative, Artistic, Social, Enterprising, and Conventional.


is an aptitude assessment that matches students with study programs at specific colleges and universities.

Answers

Answer:

Campbell Interest Inventory , FOCUS2

Explanation:

Answer:

Campbell Interest Inventory , FOCUS2

Explanation: I took the test and made 100

Use the drop-down menu to complete the steps for using the Autofill feature. Click the . Click the . Drag the to the desired range. Click the Autofill option you want to use.

Answers

Answer:

Cell,fill handle,fill handle

Explanation:

Trust

Answer:

Guy up top is correct, it's Cell, Fill handle, Fill handle, in that order

Explanation:

Which below best describes JavaScript? *
a) a common dynamic computer language
b) C++ with a different name
c) The study of coding

Please help me out! 23 extra points!

Answers

Answer:

it is a programing languwage that is useualy used to program visual or text based applications

Explanation:

Answer: A

JavaScript is a common dynamic computer language. It was invented decades ago.

C++ is a different way of coding, it is not the answer. Many different people use C++, because they prefer it is easier than JavaScript.

Hope this helps!

True or False:
JavaScript was found in 1923

Answers

Answer:

False. It was in 1995

Explanation:

Answer:

False it was created September 1995.

Explanation:

The ____ logic unit is responsible for the execution of arithmetic and logical operations.

Answers

Answer:

The arithmetic/logic unit(ALU)

Explanation:

This unit executes all arithmetic and logical operations through the electrical circuitry it has.

An instrument used to measure the amount of electrical current intensity in a circuit

Answers

the instrument is an ammeter

Can a syntax error occur in a block-based code? Why or why not?

Answers

The environment stops two instructions from snapping together if they cannot be combined to form a valid assertion. Via preventing syntax problems in this way, block-based programming environments maintain the practice of writing programs by piecemeal assembly of statements.

Why do syntax errors happen?

When a programmer enters an incorrect line of code, they have made a syntax error. Missing punctuation or misspelled names are the two most common syntax mistakes. In either a compiled or an interpreted programming language, a syntax error prevents the code from running.

The source code contains a syntax error, but the object code does not. A source program is created by a programmer using a word processor or editor and written in high level language.

To learn more about Syntax error refer to:

https://brainly.com/question/24822807

#SPJ1

5
Select the correct answer.
Which method is used to transfer information from one computer to another?
O A.
mass communication
B.
point-to-point communication
C.
internet protocol
D.
hard disk
E.
microprocessor

Answers

Answer:

A

Explanation:

If you wanted to mass communication means it imparts and exchanges information on a scale of people so you couple transfer and share your data from one person to another.

Answer: A

Explanation:

(02.05 LC) What is an example of a web browser? Bing Firefox Instagram Yahoo

Answers

Answer: Firefox

Explanation:

Bing and Yahoo are search engines. Instagram is an example of social media. Firefox is a wed browser. A web browser is a window that allows you to open up new tabs. the other three are examples of tabs you can open with Firefox.

Answer:

firefox

Explanation:

Which note-taking method quickly captures and organizes information?

mapping
Cornell
SQRW
recording

Answers

Answer:

c mapping

Explanation:

Mapping  is a note-taking method that quickly captures and organizes information

What is mapping method in note-taking?

Mapping is known to be s process where one can make use of their comprehension or concentration skills and then they can use in a note taking form.

In this method, it always linked each fact or idea to all other fact or idea. Mapping is known to be a kind of  graphic representation of the work or all the contents of a lecture.

Learn more about mapping  from

https://brainly.com/question/1425367

In the Page Setup dialog box, the _____ tab gives you options to change the paper size.
a.
Layout
b.
Paper
c.
Sizes
d.
Margins

Answers

Answer:

I think its either layout or sizes

the way information from my computer is given back to the user is called​

Answers

Answer:

Add answer???

Explanation:

Name the application pagram used in creating the
document above​

Answers

Answer:

Excel or Google Sheets

Explanation:

Which of the following Office Online apps is most effective for creating spreadsheets?

Answers

Answer:

Excel

Explanation:

It allows you to make spreadsheets.

A student opens a recently purchased software package and begins reading the enclosed materials. What information might be included in the software license? Check all that apply.

Answers

Answer:

1,2,4

Explanation:

plss give me brainliest

Answer:1,3,4

Explanation:just did it

five reasons Why Photographers Aren't Filmmakers

Answers

Answer:

1. They don't like recording things (They'd rather take photos)

2. It doesn't take much time to take a good photo as it is to record a video

3. They'd rather work alone or with others who want pictures taken

Explanation:

These are weird reasons but true..I'm a photographer so these are my reasons. I don't have others tho. Sorry.

Which of the following are likely reasons people enjoy watching lifelike stories on the screen? Select all that apply.


People develop a connection that is emotional with the stories and/or characters.

The stories remind them of situations they are familiar with.

The situations they see are not familiar to them.

They are distracted by the video and sound combination.

Answers

Answer:

c

Explanation:

I dont know but omost every time I guess I get it right

Answer:

A: People develop a connection that is emotional with the stories and/or characters.

and

D:The stories remind them of situations they are familiar with.

Explanation:

edg2021

i really need help please im about to give up

Answers

Answer:

true

Explanation:

because I ain't stupid

The implementation stage of the SDLC _____.


involves describing the desired functionality of the system


involves establishing an overview of the project goals


involves putting the system into production so users can begin to perform real business operations with the system


involves analyzing end-user business requirements in order to refine project goals

Answers

Answer:

d. involves analyzing end-user business requirements in order to refine project goals

Explanation:

In the software development life cycle, the implementation stage is the stage where the computer programmers begin the actual coding of the application required by the end-user. At this stage, the developer takes into account the needs and specifications of the customer.

For example, if the end-user wants a software application that can track payment records, the researcher at this stage begins using the right software to code programs that can effect this function.

Joann now wants to create a building block for the name of her company. She outlines the steps she needs to take to access the Create New Building Block dialog box. What does Joann need to change in her outline? Check all that apply.

Answers

Answer: D. She needs to revise step 4

Explanation: Just took the assignment on edge.

Answer:

D. She needs to revise Step 4

Explanation:

Edge 2020

Other Questions
Why were workers paid more during the plague? Where the Texans justified in declaring independence from Mexico? How were indentured servants different than slaves? ive been helping yall all night plz help me Help me with my Spanish Pleaae if you know Spanish HELPPP (psychology)__________ is the source error that can be avoided by locating questions sensitive to bias and changing or dropping them.A.Response setB.Deliberate biasC.Social desirabilityD.Response bias Your monthly mortgage payment on your house is $593.90. It is a 30 year mortgage at 7.8% compounded monthly. How much did you borrow Model:Es el padre de mi padre.mi abuelo1. Es la hermana de mi padre.2. Es la madre de mi abuelo.3. Es el hermano de mi esposa.4. Son los hijos de mi to.5. Es la hija de mi madrastra.6. Es el hijo de mi hijo.7. Es el esponso de mi hija For each of the following transactions that occur in their lives, identify whether it is included in the calculation of U.S. GDP as part of consumption (C), investment (I), government purchases (G), exports (X), or imports (M). Check all that apply.Transaction C |I |G| X |M|The Federal Aviation Administration expands the runways at Philadelphia International Airport, which is just a few miles from Antonio and Caroline's house.Dmitri buys a new set of tools to use in his plumbing business.Caroline buys a new BMW, which was assembled in Germany.Antonio's employer assigns him to provide consulting services to an Australian firm that's opening a manufacturing facility in China.Caroline gets a haircut. Help me solve this problem please What is the most likely meaning of the simile in the following sentence?The birds started singing at 5 a.m., sounding like a company of fire engines headed to a huge blaze.A. It suggests that the speaker believes fire engines are too loud.B. It suggests that the birds were communicating an urgent message to one another.C. It suggests that the speaker was woken up by the birds.D. It suggests that the birds were loud and unpleasant sounding. Greg has a table that is 3.75 meters in length. He wants to make a tablecloth that is 20 centimeters longer on each end than the table. What steps should Greg use to determine the correct number of centimeters to make the tablecloth What percent do you actually pay if 40% discount Traders from Islamic lands would spread the ideas of Muslim scholars during their travels along trade routes. What is this an example of? Write the half reactions and the balanced equation for the galvanic cell Cu(s)| Cu2+(aq)|| Cu+(aq)| Cu(s). What is the smallest possible integer coefficient of Cu+(aq) in the combined balanced equation? what makes up a climate in a place? who is and what did Samuel Adams do in 3-4 sentences? Read the paragraph.1Jesse will graduate from high school and go to college. 2His younger brother will be going to college as well. 3After they have graduated, all of the Miller boys will have earned an advanced degree.Which statement correctly describes the verb tense and aspect in this paragraph? 5). How did sailors find North and South America _____ is the chief source of news for less than 50 percent of Americans under fifty-five years of age. 35. Religion affected every aspect of life for the Ancient Greeks.a) True.b) False.