answersLogoWhite

0

/* 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); }

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you draw a flow chart to display the prime numbers between 1 to 100?

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.


How many numbers between 1 and 600 are divisible by 2 and 3?

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.


How many numbers are divisible by 9 between 5 and 1000?

111 numbers between 5 and 1000 are divisible by 9


When a number is divisible by another number what is it?

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.


What numbers between 100 and 9000 are divisible by 3?

There are 2,966 numbers between 100 and 9,000 that are divisible by three.


How to display prime numbers in descending that can be divisible by 3?

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 ;)


How many numbers are between 1 and 100 are divisible by 5?

There are 98 numbers are between 1 and 100 that are divisible by five.


How many numbers between 1 and 180 are divisible by 2?

There are 89 numbers between 1 and 180 that are divisible by two.


How many numbers between 100000 and 999999 are divisible by 10?

There are 89,999 numbers between 100,000 and 999,999 that are divisible by 10.


How many numbers between 1 to 1000 are divisible by 15?

There are 66 numbers between 1 and 1,000 that are divisible by 15.


How many numbers between 101 and 201 are divisible by 4?

There are 25 numbers between 101 and 201 that are divisible by four.


How many numbers between 400 and 600 are divisible by nine?

There are 22 numbers between 400 and 600 that are divisible by nine.