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

Having trouble with add or subtracting the given polynomials
A person began running due east and covered 15 kilometers in 2.0 hours. What is the average velocity of the person? Show all your work!
Determine which diagram could be used to prove ABC - EDC using similarity transformations.
Solve the word problems using systems. The sum of two numbers is 842. The difference is 314. Find the numbers.
Please show your work thank you
Which celestial objects are left over from the early solar system and did not form into planets? A. Saturns rings B. Jupiter’s moons C. Pluto and charon D. Aste
What is the first amendment?
Proper digestion requires the coordinated effort of many hormones with various effects. how do gastrin, cholecystokinin (cck), and secretin influence digestion?
Muscles make up _______ your body weight.
David works at an adhesive manufacturing plant. Which industrial solvent is he likely to use? A. ozone B. carbon C. nitrogen oxide D. methyl chloroform