Initial commit
This commit is contained in:
commit
bdf71aef37
120 files changed
+8284
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(void) {
|
||||
const int N = 9;
|
||||
|
||||
for (int i = 1; i <= N; i++) {
|
||||
for (int j = 0; j <= i; j++) {
|
||||
printf("%d * %d = %d", i, j, i * j);
|
||||
if (i * j < 10) {
|
||||
printf(" ");
|
||||
}
|
||||
else {
|
||||
printf(" ");
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user