Popular Posts

9. Write a program to find the numbers between 100 and 200 which are divisible by 5 and 2.

9. Write a program to find the numbers between 100 and 200 which are divisible by 5 and 2.


#include
#include
int main()
{
clrscr();
int i;
for(i=100;i<=200;i++)
if(i%5==0&&i%2==0)
cout< getch();
return 0;
}

Output:
100 110 120 130 140 150 160 170 180 190 200

No comments: