qb64
write a program to print even numbers from 100 to 50 150 in reverse order
Answers
Answered by
0
Answer:
#include <stdio.h>
int main() {
int i;
printf("Even numbers between 1 to 50 (inclusive):\n");
for (i = 1; i <= 50; i++)
{
if(i%2 == 0)
{
printf("%d ", i);
}
}
return 0;
}
Similar questions
English,
2 months ago
Math,
2 months ago
Biology,
2 months ago
Physics,
5 months ago
Math,
5 months ago
Social Sciences,
10 months ago
Social Sciences,
10 months ago
English,
10 months ago