Skip to content

Instantly share code, notes, and snippets.

@raydvard
Created September 16, 2014 18:53
Show Gist options
  • Save raydvard/6e70d4fda23848e871a7 to your computer and use it in GitHub Desktop.
Save raydvard/6e70d4fda23848e871a7 to your computer and use it in GitHub Desktop.
Find out even numbers between 0 to 99 :p
#include<stdio.h>
int main()
{
int i;
printf("Even Numbers Between 0 to 99 are given below :");
for ( i = 0; i <= 98; i = i + 2 )
{
printf("\n%d", i);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment