Hey guys! After compiling this program IT LOOKS AMAZING! Trust me :)
It just generates the tables of/from 1 to 10 :)
Piece of cake..
#include<iostream.h>
#include<conio.h>
void main( )
{
int Yo;
clrscr ( );
for(int i = 1; i<=10; i++)
{
for(int j=1; j<=10; j++)
{
Yo = i *j ;
cout<<i<<"*"<<j<<"="<<Yo;
cout<<"\t";
}
cout<<"\n";
}
getch ( );
}
It just generates the tables of/from 1 to 10 :)
Piece of cake..
#include<iostream.h>
#include<conio.h>
void main( )
{
int Yo;
clrscr ( );
for(int i = 1; i<=10; i++)
{
for(int j=1; j<=10; j++)
{
Yo = i *j ;
cout<<i<<"*"<<j<<"="<<Yo;
cout<<"\t";
}
cout<<"\n";
}
getch ( );
}
0 comments :