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

Please help I’m very confused!!
Which value cannot be evaluated in the function below? f ( x ) = 6 ⋅ x − 1 Group of answer choices f ( 3 ) f ( 0 ) f ( 6 )
What literary or rhetorical device is Welty using to make her a trustworthy narrator? Opathos in showing her mother trying to whistle O personification of the
4.Dry ice is carbon dioxide in a solid state. It’s freezing point is -78.5 C. You use dry ice to freeze liquid mercury that is at room temperature, or 22 C. How
In Springtown, the library is 9.3 miles due south of the courthouse and 3.2 miles due west of the community swimming pool. What is the distance between the cour
Match each of the following transfers of heat with its description:
how can i get better with ELA
Can someone please help me with this question
Where is the weak force in an atom?
What does spinal cord mean?