#include <iostream>
#include <windows.h>
using namespace std;
int main(){
for(;{
int X,Y;
system("cls");
cout<<"enter number:";
cin>>X;
cout<<"enter number:";
cin>>Y;
system("cls");
for(int y = 1; y <= Y; y++)
{
cout<<" ";
for(int x = 1; x <= X; x++)
{
cout<<x*y<<" ";
if(x*y<=99)cout<<" ";
if(x*y<=9)cout<<" ";
}
cout<<endl<<endl;
}
}
return 0;
}
#include <iostream>
using namespace std;
int main(){
for(;{
int X,Y;
cout<<"enter number:";
cin>>X;
cout<<"enter number:";
cin>>Y;
for(int y = 1; y <= Y; y++)
{
cout<<" ";
for(int x = 1; x <= X; x++)
{
cout<<x*y<<" ";
if(x*y<=99)cout<<" ";
if(x*y<=9)cout<<" ";
}
cout<<endl<<endl;
}
}
return 0;
}
#include <iostream>
#include <windows.h>
using namespace std;
int main(){
for(;{
int X,Y;
system("cls");
cout<<"enter number:";
cin>>X;
cout<<"enter number:";
cin>>Y;
system("cls");
for(int y = 1; y <= Y; y++)
{
cout<<" ";
for(int x = 1; x <= X; x++)
{
cout<<x*y<<" ";
if(x*y<=99)cout<<" ";
if(x*y<=9)cout<<" ";
}
cout<<endl<<endl;
}
}
return 0;
}
#include <iostream>
using namespace std;
int main(){
for(;{
int X,Y;
cout<<"enter number:";
cin>>X;
cout<<"enter number:";
cin>>Y;
for(int y = 1; y <= Y; y++)
{
cout<<" ";
for(int x = 1; x <= X; x++)
{
cout<<x*y<<" ";
if(x*y<=99)cout<<" ";
if(x*y<=9)cout<<" ";
}
cout<<endl<<endl;
}
}
return 0;
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.