V.Vidhya Logo

V.Vidhya

for (loop) II


Q1.

Print multiplication table of 5


Q2.

Print multiplication table of a number given by user input

(HINT: Take user input using prompt, then print the multiplication table of that given number.)


Q3.

Between 1 & 100, only print the numbers which are divisible by both 3 and 5.

Expected Output:

15
30
45
60
75
90

Prev Post
for (loop) I
Next Post
Nested for (loop)