Share your repls and programming experiences

← Back to all posts
#WEEKLY 20, Unique Instances inside the Times Table
firefish (931)

Weekly 20, done in golang

Input two numbers, (SEPERATED BY A SPACE OTHERWISE SPRINTF WILL BREAK)
for example, 3 4.
Then it'll display the table.

1 2 3 4
2 4 6 8
3 6 9 12

Then it'll tell you how many unique numbers there are inside the table.

So basically you input two numbers, then It tells you how many factors the product of those two numbers have, but you have to create a weird 2d array/table thing. this trick only worked for Drone7's example of 3 4

I did this in Golang because I wanted to exercise my skills in Golang (like dusk wasn't a big enough exercise)

The end!

Comments
hotnewtop
Leroy01010 (414)

like dusk wasn't a big enough exercise
XD

NICE PROJECT THOUGH

firefish (931)

@Leroy01010 Well it took about 6 hours to learn golang in order to making though, you learn it too, it's easy

firefish (931)

@DynamicSquid Oh no, here we go again. I think your Squid to English translator broke.