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

Which is the last step to take in order to keep food safe? Chill Clean Store Freeze
Seismic waves are divided into what two types
Through (3,3), slope = 2
Help plz with the last questions !!! Thxs
4. The reason that organisms cannot produce populations of unlimited size is that A. interactions between organisms are unchanging B. there is no carrying capa
Write an equation of the circle given its center and radius
A wave that reflects off a fixed boundary
Find the slope of each line Y= 9/5x+5 And Find the slope of y=5
all of the following are involved in inflammation except a. histamine b. kinins c. leukotrienes d. interferon
Will mark brainliest if right! Which polynomial is a quartic trinomial? A. 2x^4-2x+6 B. 2x^4-2x^2-4x+6 C.2x^2-4x+6 D.2x^3-2x^2-4x+6