What is the result when you run the following program?

print(“2 + 7”)
print(3 + 1)

Answers

Answer 1

Answer:

line 1 = 2+7 (you added quote marks)

line 2 = 4 (you did not add quote marks, which adds both nums together)

Explanation:


Related Questions

Write an if/else statement that adds 1 to the variable minors if the variable age is less than 18, adds 1 to the variable adults if age is 18 through 64 and adds 1 to the variable seniors if age is 65 or older.

if (age < 18) {

minors = minors + 1;

} else if (age > 17 && age < 65) {

adults = adults + 1;

} else {

seniors = seniors + 1;

}

Answers

Answer:

See Explanation

Explanation:

The answer you attached to the question is correct and it does not need any additional input.

However, I'll explain each line for you

This line checks if age is less than 18

if (age < 18) {  

This line increases minors by 1

minors = minors + 1;

}

This line checks if age is between 18 and 64

else if (age > 17 && age < 65) {  

This line increases adult by 1

adults = adults + 1;

}

This line checks if age is greater than 18

else {

This line increases seniors by 1

seniors = seniors + 1;

}

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

Answers

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!

Which of the following statements are true regarding models? Select 3 options.
Models help you understand a complex situation by including all of the details.
In a model, the general characteristics are separated from the details.
Models help communicate a design.
Models help predict how a specific solution will respond.
Models represent the system or problem at a detailed implementation level.

Answers

Answer:

Models help predict how a specific solution will respond

In a model, the general characteristics are separated from the details

Models help communicate a design

Explanation:

I got 100% and I want to help you

Select all that apply.
In the File tab, you can:
send documents as e-
mail attachments
post documents as blogs
export documents as PDF/XPS
record document macros

Answers

Answer:

send documents as e-mail attachments

post documents as blogs

export documents as PDF/XPS

What are some ways to enter and edit data in a worksheet? Check all that apply.
right-clicking the cell
zooming in on the cell
selecting the cell
selecting the cell and clicking the formula bar
clicking to select the cell and typing

Answers

Answer:

selecting the cell

selecting the cell, clicking the formula bar

double-clicking the cell

Explanation:

Because I watched a video

Answer:

C). selecting the cell

D). selecting the cell and clicking the formula bar

E). clicking to select the cell and typing

Explanation:

I just did the Instruction on EDGE2022 and it's 200% correct!

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)

when four consecutive numbers are added the sum is 46 find the integers plss anyone help me​

Answers

Answer:

The integers are 10,11,12,13

Explanation:

At first form an equation,

Let,

x = first number

x + x+1 + x+2 + x+3 = 46

Now solve the equation and youll get the answer,

x=10

For the other numbers,

x+1=11

x+2 = 12

x+3 = 13

What are some positive ways to build your online reputation? (Choose all that apply)
Build a brand for yourself.
Constantly promote a product you're selling.
Avoid revealing personal fights and problems.
Pay for views and likes on your content.

Answers

Answer:my best answer is to be nice and use manners

Explanation:

chhincvjucnvbeojnvjbbnjovnvbbnvjbcnojnv definitly dont do that

Which statement best illustrates the relationship between three different
elements of the circular flow of products?
O A. Households pay wages to businesses, which can then set up
product markets.
O B. Product markets offer labor to businesses, which creates jobs for
households.
O C. Businesses create goods for product markets, which sell them
directly to households.
O D. Resource markets sell goods to product markets, which sell the
goods to businesses

Answers

Answer:

C

Explanation:

GDP can be represented by the circular flow diagram as a flow of income going in one direction and expenditures on goods, services, and resources going in the opposite direction. In this diagram, households buy goods and services from businesses and businesses buy resources from households.

Magsulat ng ilang mga paalala sa paggawa ng proyektong Series Circuit
1._______________________________________________

2.______________________________________________

3.______________________________________________

4.______________________________________________

5.______________________________________________

PLEASE HELP ME​

Answers

Answer:

mag ingat,dapat d basa ang kamay,ayusin ang posive at negative na hindi maghalo,kong may electric tape mas safe..

Explanation:

yun yung tips ko kasi nakagawa na kami non ay yop 1 yung samin

What is the output?
password = "sdf# 356"
>>> password. isalnum()

Answers

The output is False because the string password contains #.

Answer:

The answer is False.

Explanation:

The answer is false becasue it has other characters than letters and numbers.

Have a great day, I hope this helped.

What is the singular of Data?
What are alphanumeric characters?

Answers

Answer:

1. Datum

2. Alphanumericals are a combination of alphabetical and numerical characters

Explanation:

What is constructive criticism?

Advice and possible solutions intended to help or improve something
Information given to others as a way to make them feel unintelligent
Reports about decreasing profits
Statements and no possible solutions aimed at showing problem areas

Answers

Answer:

Constructive cristsism is a helpful way of giving feedback that provides specific, actionable suggestions. Or, its a nice way of criticizing someone and telling them what to do better

Answer:

Advice and possible solutions intended to help or improve something

Explanation:

I took the test and Got it Correct!

is cheque money? give reason​

Answers

Answer:

Cheque is not money. cheque is a paper instructing the bank to pay a specific amount from the person's account to the person in whose name the cheque has been drawn. The facility of cheque against demand deposits makes it possible to directly settle the payments without the use of withdrawal.

Explanation:

This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and arrow head width.(1) Modify the given program to use a loop to output an arrow base of height arrowBaseHeight. (1 pt)(2) Modify the given program to use a loop to output an arrow base of width arrowBaseWidth. Use a nested loop in which the inner loop draws the *’s, and the outer loop iterates a number of times equal to the height of the arrow base. (1 pt)(3) Modify the given program to use a loop to output an arrow head of width arrowHeadWidth. Use a nested loop in which the inner loop draws the *’s, and the outer loop iterates a number of times equal to the height of the arrow head. (2 pts)(4) Modify the given program to only accept an arrow head width that is larger than the arrow base width. Use a loop to continue prompting the user for an arrow head width until the value is larger than the arrow b

Answers

Answer:

Here is the JAVA program:

import java.util.Scanner; // to get input from user  

public class DrawHalfArrow{ // start of the class half arrow  

public static void main(String[] args) { // starts of main() function body  

   Scanner scnr = new Scanner(System.in); //reads input  

int arrowBaseHeight = 0; // stores the height of arrow base  

int arrowBaseWidth  = 0; // holds width of arrow base  

int arrowHeadWidth = 0; // contains the width of arrow head  

// prompts the user to enter arrow base height, width and arrow head width  

System.out.println("Enter arrow base height: ");  

arrowBaseHeight = scnr.nextInt(); // scans and reads the input as int  

System.out.println("Enter arrow base width: ");  

arrowBaseWidth = scnr.nextInt();  

/* while loop to continue asking user for an arrow head width until the value entered is greater than the value of arrow base width */  

while (arrowHeadWidth <= arrowBaseWidth) {  

   System.out.println("Enter arrow head width: ");  

   arrowHeadWidth = scnr.nextInt(); }  

//start of the nested loop  

//outer loop iterates a number of times equal to the height of the arrow base  

for (int i = 0; i < arrowBaseHeight; i++) {  

//inner loop prints the stars asterisks  

     for (int j = 0; j <arrowBaseWidth; j++) {  

         System.out.print("*");        } //displays stars  

         System.out.println();          }  

//temporary variable to hold arrowhead width value  

int k = arrowHeadWidth;  

//outer loop to iterate no of times equal to the height of the arrow head  

for (int i = 1; i <= arrowHeadWidth; i++)  

{     for(int j = k; j > 0; j--)     {//inner loop to print stars  

      System.out.print("*");    } //displays stars  

  k = k - 1;  

  System.out.println(); } } } // continues to add more asterisks for new line  

Explanation:  

The program asks to enter the height of the arrow base, width of the arrow base and the width of arrow head. When asking to enter the width of the arrow head, a condition is checked that the arrow head width arrowHeadWidth should be less than or equal to width of arrow base arrowBaseWidth. The while loop keeps iterating until the user enters the arrow head width larger than the value of arrow base width.  

The loop is used to output an arrow base of height arrowBaseHeight. So point (1) is satisfied.  

The nested loop is being used which as a whole outputs an arrow base of width arrowBaseWidth. The inner loop draws the stars and forms the base width of the arrow, and the outer loop iterates a number of times equal to the height of the arrow. So (2) is satisfied.  

A temporary variable k is used to hold the original value of arrowHeadWidth so that it keeps safe when modification is done.  

The last nested loop is used to output an arrow head of width arrowHeadWidth. The inner loop forms the arrow head and prints the stars needed to form an arrow head. So (3) is satisfied.  

The value of temporary variable k is decreased by 1 so the next time it enters  the nested for loop it will be one asterisk lesser.  

The screenshot of output is attached.

Which of the following are signatures for constructors in the Rectangle class?

----Choose all options that apply.-----


A. Rectangle(double len1, double len2, double len3, double len4)

B. Rectangle(double len)

C. Rectangle(int len)

D. Rectangle(int len, int wid)

E. Rectangle()

F. Rectangle(double len, double wid)

Answers

Answer to this answer is B because

constructor is a special method that's also called once memory is allocated for a freshly constructed object to initialize it, and further  discussion can be defined as follows:

It has the same identity as the class or struct, so it normally sets up the new object's data members.In the Rectangle class if it calculates the area. so, it takes two parameters that are "length, width", that is equal to "Rectangle(int len, int wid)".

Therefore, the final answer "Option D".

Learn more:

brainly.com/question/14239397

BRAINLIEST!!!!!!
I nEeD your HeLp​

Answers

Answer:

[tex]option \:1 . \: is \: cd \\ option \:2. \: is \: hard \: disk \: drive \\ primary \: memory \: is \: \: a \: memory \: dirctly \\ \: accessed \: by \: the \: cmp \\ why \: secondary \: is \: not \: directly \: accessed[/tex]

[tex]\boxed{1.)}\;Your\;answer\;is\;indeed\;cd.\\\\\\\boxed{1's\;explanation...\;>See\;Below<}\\\\\\An\;SSS\;device\;is\;a\;Solid-state \;storage \;device.\;It\;collects\;storage.\;Therefore,\;your\\\;answer\;is\;B,\;cd.[/tex]

[tex]\boxed{-----------------------------------}[/tex]

[tex]\boxed{2.)}\;Your \;answer\; is\; HDD.\\\\\\\boxed{2's \;Explanation...}\\\\\\A\;HDD\;is\;a\;drive\;located\;inside\;of\;a\;computer.\;Therefore,\;your\;answer\;is\;B.\\\\\\\boxed{------------------------------------}\\\\\\\boxed{Hope\;it\;helps!}\\\\\\\huge\boxed{Thanks,razorple.}[/tex]

A laptop computer is smaller than desktop computer. True or false

Answers

Answer:

true

Explanation:

Answer:

true

Explanation:

laptop... sits on ya lap

desktop... sits on the desk

________________are programs that designed to help users to be more productive with their personal tasks

Answers

Answer is • designers •

Have a nice day

Answer:

Application software

Application software consists of programs designed to make users more productive and/or assist them with personal tasks

Explanation:

In one or two short paragraphs, explain a few different ways you could get more involved in your own community. Think about the issues that concern you and how you could get involved to have an effect on those concerns.

Answers

Answer:

Ways people get more involved in your community are by stoping to help when and where you're needed. It's a simple way to make your community better and help to create the kind of vibe that makes people feel safe and happy. If you see someone in need of assistance, come to their aid instead of averting your eyes. Do for others what you'd want them to do for you if you were in their situation. Support your local economy. Healthy communities have healthy local economies. People work together to help each other make a living and thrive. You can help improve the health of your local economy in many different ways, from changing your shopping habits to starting a business of your own. 

Recycle and compost. Many communities are experiencing problems with landfills that are getting too full. Producing too much trash pollutes the environment, and that's not good for your community's long-term health. You can do your part to help improve the situation by recycling and composting as much of your waste as possible.Save energy and water. Using excessive electricity and water strains community resources.Saving energy and water is good for the planet as well as your local environment. Do your best to conserve energy and water and it will become an investment in your community's long-term health. By doing some of these simple things you can be involved and help the community you live in.

Explanation:

Hope this helps

Answer:

Answers will vary but should include some specific examples with common elements such as:

organizing a food drive or fundraiser to benefit a local charity

volunteering at a home for the elderly

donating clothes or other goods

getting a school sports team involved in a local service project

finding an organization where you can volunteer with your parents

Explanation:

PLATO

which hardware device is it most important to an experienced computer professional to install

Answers

Answer:

RAM

Explanation:

In the test

Answer:

RAM

Explanation:

I'm doing the unit test.

IT professionals should help to protect users’ personal information, such as bank account information or Social Security numbers, to prevent

A.software piracy.

B.identity theft.

C.moonlighting.

D.corporate espionage.

Answers

Answer:

B

Explanation:

Answer:

b

Explanation:

What does Tristan need to do to add a row at the bottom of the table shown?

He needs to put the insertion point at the end of 8.8 and press the Tab key.
He needs to put the insertion point at the end of 8.8 and press the Enter key.
He needs to put the insertion point at the end of freezers and press the Tab key.
He needs to put the insertion point at the end of freezers and press the Enter key.

Answers

Answer:

He needs to put the insertion point at the end of 8.8 and press the Tab key.

Explanation:

Answer:

A

Explanation:

Which statement is true about asking questions while reading?
It is a system that keeps readers from understanding a text's purpose.
O It is a strategy that readers use only when reading textbooks.
O It is a system that strong readers do not use.
O It is a strategy that helps people be active readers.

Answers

Answer:

It is a strategy that helps people be active readers.

Explanation: Poggers m8

Answer:

D

Explanation:

The line represents a visible line that represents features that can be seen
in the current view.
Continuous Thick Line
Pictorial Sketch Types
Aligned Section View
Chain Thin Line

Answers

We use the Continuous Thick Line representation which uses in the line.

The continuous thick line represents a sample that depicts features seen in the current view, which can be used to represent apparent contours and boundaries.

In this, the scribbled lines are used to generate contours and edges that are not visible from the outside.This line type is utilized in site plans for apparent outlines, general detailing, existing structures, and landscaping.

Therefore, the answer is "continuous thick line".

Learn more about the line here:

brainly.com/question/26196994

As per the statement, the line represents the visible part of the features that can be seen in the current views as the line is a continuous thick line.  Thus the option A is correct.

Which line represents a visible feature of current view.?

The visible lines are those that make up most of the visible part of the features and are noted for the summary lines and refer to the specific views.

A continuous line can be easily seen and is visible for very far and hence this line is a sorrowing the side of the matter. It can be used to outline the object and is has a medium weight.  Hence the visibility of the line is lone factor of the continuality and thickness.

Find out more information about the line represented.

brainly.com/question/12242745.

What are the two reasons we analyze algorithms?

Answers

Answer:

the most straightforward reason for analyzing an algorithm is too discover its characteristics in order to evaluate its suitability for various applications or compare it with other algorithms for the same application

Choose the best answer to complete the sentence.

A transferable skill can be applied:

in a variety of situations and roles.

in only one setting or situation.

in every situation.​

Answers

Answer:

First is A

Explanation:

Second is B,C,F

Which of the following behaviors is considered ethical?

A. copying another user’s password without permission
B. hacking software to test and improve its efficiency
C. using a limited access public computer to watch movies
D. deleting other user’s files from a public computer

Answers

Answer:

answer is c. using a limited access public computer to watch movies

Answer:

using a limited access public computer to watch movies

Explanation:

It is the only one that will not get you in big trouble

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

Which shape is used as a start or end?
a paralleogram
a rounded rectangle
a rectangle
a diamond

Answers

Answer:

rounded rectangle

Explanation:

I jus looked it up lol

PLZ help
What are the similarities between taking notes for audio and online materials? Check all that apply.

1 ) It is important to identify the keywords and concepts.
2) The Cornell method can be useful when students need detailed notes.
3) It is necessary to print the material from the online source and the audio recording.
4) The main idea of the material must always be identified.
5) It is essential to use the SQRW system.

Answers

Answer:

The correct answer is,

A. It is important to identify the keywords and concepts.

B. The Cornell method can be useful when students need detailed notes.

D. The main idea of the material must always be identified.

Explanation:

The similarities in the notes of audio and online materials include:

Essential to find out the keywords and the concepts.The method of Cornell is useful when students need detailed notes.An Idea of the material must always be identified.What are online materials?

The online materials mean the online resources that can include the audio and visual aspects of the internet such as sound recording is essential for the undertaking the aspects of data.

It helps in identification  of the concepts, its a method that used studying the detailed notes and is cheap and easily available

Find out more information about the online materials.

brainly.com/question/4371674

Other Questions
if a plane travels 1,200 miles in 2 hours how many mph is the plane going Paragraph 2 gives examples of interactions Akaky has with a porter and an assistant to the head clerk. How do these interactions help develop the central themes of the text?AThey call attention to the fact that even the most minor workers in the office treat Akaky with disdain.BThey allow the reader to contrast Akaky's incompetence with the more professional work of his colleagues.CThey hint that Akaky's unwillingness to speak up for himself is the cause of his troubles.DThey introduce the idea that the way Akaky is treated is to be expected in a typical office environment. 1. Describe the main differences between the economies of the northern and southerncolonies in the early 1700s.Your answer must include information about AT LEAST two (2) of the following:- The products/crops produced- Where people livedThe role of slaves/immigrants If you were watching the exposition of the play, Mulan, what might you see? O A. Mulan defeat Shan-Yu OB. Mulan at the beginning of the play in her family home in China O C. Mulan meeting Mushu for the first time O D. Mulan and Shang agreeing to get married CORRECT ANSWER WILL BE MARKED BRAINLIEST!Find the constant rate of change for the representation.Jazmina brought home a plant. She kept record of the plant's height in her journal over the summer. The following are a few of her journal entries:Day 3: 15.75 inches Day 6: 19.5 inchesDay 10: 24.5 inches Day 11: 25.75 inchesDay 16: 32 inches Day 21: 38.25 inches The graph shows the amount of money Joe earns each hour he works. Which statement about the graph is not true? OPTIONS:F. The graph shows a proportional relationship. G. The graph shows a nonproportional relationship. H. The unit rate is $15 hour. I. The line is straight. Whats the answer?????? what happens if u have 1 F in your report card in the first 9 weeks in your junior year? Which element do poetry and prose often share?A. ImageryB. Line breaksC. EnjambmentD. Stanzas *PLEASE HELP ME*TRUE OR FALSEEach of the earth's subsystem can be studied separately but they are dependent and connected with each other . if i dye my hair what color should i do bc im a brown hair A particular toddler has an average nap of 2 and half hours. Nap time can vary by about 15 minutes. Write and solve an absolute value inequality that represents this situation. How long does it take a dropped object to fall 45 meters? what is 234 divided by 21 plz help One night a theater sold 548 movie tickets. An Adults ticket costs $6.50 and a childs ticket cost $3.50. In all $2881 was taken in. How many of each kind of ticket were sold? SOMEONE PLS HELP ME PLEASE I BEG U AND SHOW WHY PLS I BEG How did settlers of ancient Greece adapt to the climate and geography of the mountainous regions?A. They used the mountains for raising sheep and goats.B. They developed cities along the large mountain rivers.C. They developed extensive trade routes through the mountains.D. They used fertile mountain farmland for growing grapes and olives. How will Charlie most likely change after his experience at the diner in part 2 of "Flowers for Algernon"? Write an expression for the nth term of...2,1,0,-1... Would he support or oppose the Manifest Destiny? Why?