answersLogoWhite

0


Best Answer

(rand()&50+1)*2

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to generate numbers from 1 to 100 divisible by 2?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Program for print prime all number from 1 to 100 in foxpro?

Prime numbers are numbers that are only divisible by themselves and the number 1. You can write a program to print all prime numbers from 1 to 100 in FoxPro.


What numbers 1-100 are divisible by 9?

The numbers divisible by nine up to a 100 are 9,18,27,36,45,54,63,72,81,90,and,99


What are the numbers which are divisible by 100?

Any number ending in 00 is divisible by 100.


How many numbers up to 100 are divisible by 7?

There are 14 numbers between 1 & 100 that are divisible by 7.


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 many numbers that are divisible by 6 out of 100?

There are 16 positive numbers smaller than 100 that are directly divisible by 6.


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.


What numbers is divisible by 1 an 100?

Multiples of 100.


How many numbers are divisible between 0 to 100 are divisible by 4 and 6?

100 ÷ 4 = 25 → 24 numbers between 0 and 100 exclusive are divisible by 4 100 ÷ 6 = 16 2/3 → 16 numbers between 0 and 100 are divisible by 6 lcm(4, 6) = 12 → 100 ÷ 12 = 8 1/3 → 8 numbers between 0 and 100 are divisible by 4 and 6.


Draw a flowchart to generate odd numbers between 100?

Draw a flowchart to generate odd numbers between 100?


How many numbers between 0 100 are divisible by 7?

There are a total of 14 numbers between 0 & 100 that are divisible by 7.


How many numbers are there between 10 and 100 that are divisible by 11?

There are nine numbers between 10 and 100 that are evenly divisible by 11.