15, 30, 45, 60, 75, 90
50 of them.
The list of numbers that are divisible by three is infinite. The first four are: 3, 6, 9, 12 . . .
The numbers that are divisible by 28 are infinite. The first four are: 28, 56, 84, 112 . . .
The numbers that are divisible by 744 are infinite. The first four are: 744, 1488, 2232, 2976.
The numbers that are divisible by 408 are infinite. The first four are: 408, 816, 1224, 1632 . . .
50 of them.
11
Q.1 Write a program to print first ten odd natural numbers. Q.2 Write a program to input a number. Print their table. Q.3 Write a function to print a factorial value.
The first 3 digit natural number is 100: 100 ÷ 4 = 25 → first 3 digit natural number divisible by 4 is 4 × 25 The last 3 digit natural number is 999: 999 ÷ 4 = 249 r 3 → last 3 digit natural number divisible by 4 is 4 × 249 → number of 3 digit natural numbers divisible by 4 is 249 - 25 + 1 = 225.
150 ÷ 9 = 16 r 6 → the first natural number between 150 and 300 divisible by 9 is 9 × 17 (=154)300 ÷ 9 = 33 r 3 → the last natural number between 150 and 300 divisible by 9 is 9 × 33 (=297)→ there are 33 - 17 + 1 = 17 natural numbers between 150 and 300 divisible by 9.
Drawing flowcharts is impossible in a text-based forum. So here's the pseudocode instead:input xinput yif(x%y==0) then print "x is divisible by y" else print "x is not divisible by y"Note that line 3 divides x by y and if the remainder is 0 then x is divisible by y, otherwise it is not.
The list of numbers that are divisible by three is infinite. The first four are: 3, 6, 9, 12 . . .
The numbers that are divisible by 744 are infinite. The first four are: 744, 1488, 2232, 2976.
The numbers that are divisible by 28 are infinite. The first four are: 28, 56, 84, 112 . . .
The numbers that are divisible by 824 are infinite. The first four are: 824, 1648, 2472, 3296.
The numbers that are divisible by 501 are infinite. The first four are: 501, 1002, 1503, 2004.
The numbers that are divisible by 972 are infinite. The first four are: 972, 1944, 2916, 3888.