Multiplication using c++
Page 1 of 1 • Share •
Multiplication using c++
Multiplication using c++
#include <iostream>
using namespace std;
int main ()
{
int x,y,z=1,m;
char e;
do{ z=1;
cout<<"Enter starting number : ";
cin>>y;
for (x=1;x<=10;x++){
for (m=y;m<=y+2;m++){
cout<<m<<"*"<<z<<"="<<m*x<<"\t";
}
cout<<"\n";
z++;
}
cout<<"\n";
cout<<"Another entry? [y/n] : ";
cin>>e;
system ("cls");
}while (e=='y' || e=='Y');
system ("PAUSE");
return 0;
}
Re: Multiplication using c++
thanks po dito 
_________________________________________________
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.][You must be registered and logged in to see this link.] alt="" />
"GREAT POWER COMES GREAT RESPONSIBILITY"

khaye1989- Donutz-Zone Admin

- Posts: 261
Points: 348
Repute: 21
Join date: 2011-11-26
Age: 23
Location: Bikini Bottom
Re: Multiplication using c++
thanks po dito 
_________________________________________________
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.][You must be registered and logged in to see this link.] alt="" />
"GREAT POWER COMES GREAT RESPONSIBILITY"

khaye1989- Donutz-Zone Admin

- Posts: 261
Points: 348
Repute: 21
Join date: 2011-11-26
Age: 23
Location: Bikini Bottom
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
