moisescouch2110 moisescouch2110
  • 07-08-2019
  • Computers and Technology
contestada

How would you describe by adding comments to the coding explaining that you know what int num1 = 10; int ave = (num1+num2+num3)/3; means? Is it declaring that num1 = 10?

Respuesta :

flightbath flightbath
  • 15-08-2019

Answer:

//declaring variable num1 and intializing it to 10

int num1 = 10;

//declaring variable ave and assigning average of 3 numbers num1,num2,num3

int ave = (num1+num2+num3)/3;

Explanation:

//declaring variable num1 and intializing it to 10

int num1 = 10;

//declaring variable ave and assigning average of 3 numbers num1,num2,num3

int ave = (num1+num2+num3)/3;

Answer Link

Otras preguntas

What is the process of learning to live without drugs called?
What answer of 5ab/8c divided by 10b/c help with  quotient
What is poem and a poetry
What is an Autobiography
how do i write a word problem for $3.00 divided by $0.25
Why are individual chromosomes more difficult to see during interphase than during mitosis?
What was the columbian exchange?
List three examples of direct evidence of evolution.
marty ate 4/6 of his pizza and luis ate 5/6 of his pizza. marty ate more pizza than luis. how is that possible?
Kelp and other various types of seaweeds are examples of ________ .a. green algaeb. blue-green algaec. brown algaed. yellow algae