/* a number divisible by x should be a multiple of x */ int i, n,x; scanf ("%d", &n); scanf ("%d",&x); for(i=x;i =< n;i+=x) { printf ("%d", x); }
In order to draw a flow chart to display the prime numbers between 1 and 100, the rules of prime numbers must be implemented. These are that the number is only divisible by itself and one.
between 1 and 600 inclusive there are:300 numbers divisible by 2200 numbers divisible by 3100 numbers divisible by both 2 and 3400 numbers divisible by 2 or 3.
111 numbers between 5 and 1000 are divisible by 9
All numbers are divisible by 1. So, apart from the number 1, all numbers are divisible by another number. These numbers are therefore prime or composite.
There are 2,966 numbers between 100 and 9,000 that are divisible by three.
rectify the question first.. if it is prime then how it is possible to divisible by 3 Prime numbers that are divisible by 3 don't exist. It's a contradictio in terminis ;)
There are 98 numbers are between 1 and 100 that are divisible by five.
There are 89 numbers between 1 and 180 that are divisible by two.
There are 89,999 numbers between 100,000 and 999,999 that are divisible by 10.
There are 66 numbers between 1 and 1,000 that are divisible by 15.
There are 25 numbers between 101 and 201 that are divisible by four.
There are 22 numbers between 400 and 600 that are divisible by nine.