C Program For Tables

#include<constream.h>
void main()
{
int a,b,c=7,d=1,value;
clrscr();
cout<<"Enter Table : ";cin>>value;
for(a=1;a<=20;a++)
{
for(b=1;b<=10;b++)
{
cout<<setw(4)<<value*d<<" ";
d++;
}
cout<<endl;
}

getch();
}





Bhanu Namikaze

Bhanu Namikaze is an Ethical Hacker, Security Analyst, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and Capture the Flags. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.

No comments:

Post a Comment