Computer Science, asked by rajd337, 6 hours ago

write javascript program to display numbers from 1 to 20

Answers

Answered by Dare3devil
0

Answer:

(var input = 1; input <= 20; input++) { console.log(input); }

Explanation:

(var input = 1; input <= 20; input++) { console.log(input); }

Output:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

Similar questions