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

what are the next two terms in the pattern 3, 6 5 10 9 18 17 ?
What does endemic mean? A. species are found in most places B. species are found in one place C. species are extinct D. species are found rarely
If the diameter of a circle is 12 feet, then the radius of the circle is What feet? Please HELP ASAP
in which of the following countries would a person have the least amount of religious freedom A. japan B. north korea C. south korea D. taiwan
what two military changes helped the british win
who ruled many of the caribbean islands until recently
Which homeostatic process requires energy to move particles across the plasma membrane?
How might reading a series of proverbs affect people
what are jim crow laws?
Which of the following organizations has encouraged free trade, increased economic interdependence, and lessened travel restrictions among European countries?EU