#include "stdafx.h"
#include <iostream>;
using namespace std;
#include <iostream>;
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int x;
for(int i=1;i<10;i++){
for(int j=1;j<10;j++){
x=i*j;
if(x<10)
cout<<i<<"x"<<j<<"= "<<x<<" ";
else
cout<<i<<"x"<<j<<"="<<x<<" ";
}
cout<<endl;
{
int x;
for(int i=1;i<10;i++){
for(int j=1;j<10;j++){
x=i*j;
if(x<10)
cout<<i<<"x"<<j<<"= "<<x<<" ";
else
cout<<i<<"x"<<j<<"="<<x<<" ";
}
cout<<endl;
}
return 0;
}
return 0;
}
蝦餃?!
回覆刪除顆顆
回覆刪除