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 35 are infinite. The first four are: 35, 70, 105, 140 . . .
The numbers that are divisible by 408 are infinite. The first four are: 408, 816, 1224, 1632 . . .
The numbers that are divisible by 28 are infinite. The first four are: 28, 56, 84, 112 . . .
50 of them.
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.
11
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 102 are infinite. The first four are: 102, 204, 306, 408.
The numbers that are divisible by 33 are infinite. The first four are: 33, 66, 99, 132 . . .
The numbers that are divisible by 7,677 are infinite. The first four are: 7677, 15354, 23031, 30708 . . .
The numbers that are divisible by 501 are infinite. The first four are: 501, 1002, 1503, 2004.
The numbers that are divisible by 824 are infinite. The first four are: 824, 1648, 2472, 3296.