Printing number 1 to10

Monday, 29 August 2011

#include<stdio.h>
#include<conio.h>
void main()
{
    int t=1;
    clrscr();
    while(t<=10)
    {
    printf("t=%d\n",t);
    t++;
    }
getch();
}

OUTPUT:

t=1
t=2
t=3
t=4
t=5
t=6
t=7
t=8
t=9
t=10





2 comments

  1. It's an remarkable article for all the online visitors; they will obtain advantage from it I am sure.

    Here is my homepage :: loadpower

    ReplyDelete
  2. Hi there to all, because I am really eager of reading this website's post to be updated regularly. It includes nice stuff.

    Also visit my web blog - twitter supplier

    ReplyDelete

 

Blogger news

Blogroll

Enter your email address:

Delivered by FeedBurner

Total Pageviews

Followers

Most Reading