Get Email Subscription

Enter your email address:

Delivered by FeedBurner

Thursday, January 21, 2010

Write a program in c to print the values 12 , 10 , 8 , 6 , 4 at tab stops ( for loop )



#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int i;
for (i = 12; i > = 4; i = i - 2)
{
printf("%d \t", i);
}
return(0);
}

Output:-
12 10 8 6 4

Related Posts by Categories



0 comments:

About This Blog

Lorem Ipsum

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP