migelarias205
migelarias205 migelarias205
  • 11-11-2021
  • Computers and Technology
contestada

7.4 Lesson Practice (projectstem): what is output if the user is enters 2?​

74 Lesson Practice projectstem what is output if the user is enters 2 class=

Respuesta :

stapmoshun
stapmoshun stapmoshun
  • 11-11-2021

Answer:

18

Explanation:

lets go step by step.

the function called tryIt has a value, a variable named "a". this "a" variable will be whatever the user enters when the program says, Enter a number.

ok so if we enter "a" as 2, and b in the function will always be 7, and 2 + 7 equals 9,

and the ans variable (short for answer) will take the result of the function (9) and multiply it by 2,

then the answer is 18

Answer Link

Otras preguntas

How many adults bought movie tickets if 3/5 of the 2,750 tickets sold were purchased by adults?
Given that 25% of a certain volume is 30cm^3, calculate the total volume
how do I do research on the relationship of inflation and economic growth of tonga and american samoa using the empirical formula of calculation?
Please hurry Which version best uses a variety of sentence structures to enhance the flow and writing style of a story? A. Harold woke up, and he heard a noise
Emissions of nitrogen oxides, which are major constituents of smog, can be modeled using a normal distribution. Let x denote the amount of this pollutant emitte
girls come hot meet xpi-hrah-bub
can someone please help me in physics :( i need to scale this so i can draw it. i will be so thankful <33
Which is faster, Light or Sound?
WRITE A 3 PARAGRAPHS About Hurricane Maria Also use a direct or summary to lead to begin
what operation appears to be "flipping" the sign?