eolymp
bolt
Try our new interface for solving problems
Məsələlər

Таблица умножения

dərc olunub 02.09.22 17:37:48

Xanlar0 because you wrote wrong

dərc olunub 02.09.22 22:20:07

Emil_Aliyev, if you can help, pls help

dərc olunub 23.01.23 11:00:12

Brat ikivizde azerbaycanli neye ingilisce danissiz 🗿🗿

dərc olunub 21.02.24 18:14:43

include <bits/stdc++.h>

using namespace std;

void solve(){

long long n;
cin>>n;
for(int i=1;i<=n;i++){
    for(int j=1;j<=n;j++){
        if(j*i % 10 == j*i)
        cout<<' '<<j*i<<' ';
        else
        cout<<i*j<<' ';
    }
    cout<<'\n';
}

}

int main(){

ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
//int t; cin>>t; while(t--)
solve();

}