Share your repls and programming experiences

← Back to all posts
#WEEKLY5 - version 2 (not actual submission)
CodingGoose (697)
This is not my actual submission

This is another way to solve the weekly(this supports floats ), so I posted this too.

Comments
hotnewtop
TheDrone7 (2002)

If it's not the actual submission, please don't include the # in the title.

CodingGoose (697)

@TheDrone7 Ok. That won't happen again

CodingGoose (697)

@CodingCactus That's why it isn't the actual submission ;)

It should be fixed now.

DynamicSquid (5070)

@DannyIsCoding I just realized, we could just do this with a switch statement:

switch num1:
case num2:
cout << "Equal!";

And in python: https://jaxenter.com/implement-switch-case-statement-python-138315.html