Sunday, March 24, 2013

First 50 Even Numbers - C Language

TASK:
Write a program to generate a series of first 50 even numbers through loop.

INPUT:
#include<stdio.h>
#include<conio.h>
void main(void)
{
clrscr();
int i;
printf(" First 50 Even Number\n\n");
for (i=2;i<101;i+=2)
{
printf(" ");
printf("%d",i);
}
getch();
}

OUTPUT:



2 comments:

  1. Merit Casino | Deposit Pays | Play and Win at - CaesarsCasino
    Learn about Merit Casino including games, หารายได้เสริม deposit options, 메리트 카지노 sign up bonus, game 1xbet selection and much more!

    ReplyDelete
  2. How to place a bet at a casino: Step-by-step guide for
    How to 군산 출장샵 place a bet at a casino: Step-by-step guide for gambling. The best casino 김해 출장샵 strategies 진주 출장안마 for finding the right one, 당진 출장샵 for online gambling, 파주 출장마사지

    ReplyDelete