tilz tilz
  • 12-12-2017
  • Computers and Technology
contestada

Someone help me I don’t know what to do /COMPUTER SCIENCE

Someone help me I dont know what to do COMPUTER SCIENCE class=

Respuesta :

tonb
tonb tonb
  • 13-12-2017
It kind of depends on the intended language, but I can see the following mistakes:

- lines not terminated with a semicolon (but not all languages require this)
- while statement missing parenthesis, ie., while (num1 <= num2), also not required in all languages
- statements below the while statement must be grouped by curly braces
- num1+5 should be num1=num1+5 or num1 += 5

Output will be:

10
15
20
25
30
Answer Link

Otras preguntas

I’m very lost I️ don’t understand
The circle is centered at the point (-3,4) and has a radius of length 3. What is its equation?
What rivers did the national road cross and what states did it pass through?
What are 5 Clever Way psychologists have for measuring implicit forms of prejudice?
You are in the delivery room caring for a preterm newborn at 27 weeks' gestation. resuscitation has been completed and the baby is ready to be transported to th
Sprawl affects which of the following?
An 85 kg man pushes a 32,000 ton wall for 240 seconds, but it does not move. How much work does he do on the wall?
what set of transformations could be applied to rectangle ABCD to create A’B’C’D’? A)Reflected over the x-axis and rotated 180 degrees B)Reflected over the y-ax
PLEASE HELP ME QUICKLY!!! BRAINLIEST AVAILABLE TO CORRECT ANSWER
HELP ANSWER FAST WILL PUT BRAINLIEST AND RATE IF CORRECT A parallelogram has a height of 5 units. One side of the parallelogram is AB. The parallelogram has no