
Write a program that prints the multiplication table of the positive integer given as its only argument.
./times_table 3Expected result
1 x 3 = 3
2 x 3 = 6
3 x 3 = 9
4 x 3 = 12
5 x 3 = 15
6 x 3 = 18
7 x 3 = 21
8 x 3 = 24
9 x 3 = 27
For your own tracking. Tests grade your code.
./times_tableExpected result
wrong number of arguments
Expected files
times_table.cAllowed functions
write
v0.40: Create exercises. Challenge the community.
Meet Studio →Write a program that prints the multiplication table of the positive integer given as its only argument.
./times_table 3Expected result
1 x 3 = 3
2 x 3 = 6
3 x 3 = 9
4 x 3 = 12
5 x 3 = 15
6 x 3 = 18
7 x 3 = 21
8 x 3 = 24
9 x 3 = 27
For your own tracking. Tests grade your code.
./times_tableExpected result
wrong number of arguments
Expected files
times_table.cAllowed functions
write
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.