write javascript program to display numbers from 1 to 20
Answers
Answered by
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
Hindi,
12 days ago
Social Sciences,
12 days ago
Math,
25 days ago
English,
8 months ago
English,
8 months ago