Computer Science, asked by Faizanmfk698, 7 months ago

Write a program to to find and display even number between 1 to 50

Answers

Answered by duvarakesh222K
0

Answer:

C Exercises: Prints all even numbers between 1 and 50

Pictorial Presentation:

C Code: #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; } ...

Flowchart:

C Programming Code Editor: ...

Contribute your code and comments through Disqus.

Similar questions