C Program that intializes the loop to produce a table of value
#include
#include
void main()
{
int i,t1,t2,t3;
clrscr();
printf("\nN\t10*N\t100*N\t1000*N");
for(i=1;i<=9;i++)
{
t1=10*i;
t2=100*i;
t3=1000*i;
printf("\n%d\t%d\t%d\t%d",i,t1,t2,t3);
}
getch();
}
**************OUTPUT****************
N 10*N 100*N 1000*N
1 10 100 1000
2 20 200 2000
3 30 300 3000
4 40 400 4000
5 50 500 5000
6 60 600 6000
7 70 700 7000
8 80 800 8000
9 90 900 9000
Shopping In MUMBAI
Are you searching for Discounts, offers, sale in Mumbai ? You are in the right place. MUMBAI, a shopping haven, has no dearth of great discounts and sales. This blog features the best MUMBAI shopping offers, sale, discounts and deals and bargains CURRENTLY GOING on in Mumbai plus a few free things thrown in on top.
Don't wait for it because once they are gone, they are gone. Hurry!..By clicking the "Like" button you will receive a daily update of discounts, sale, offers going on in Mumbai. LIKE IT.... SHARE IT...njoY.
Wednesday, December 31, 2008
C Program that intializes the loop to produce a table of value (N 10*N 100*N 1000*N)
Posted by ars at 11:56 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment