Hello again fellow replers! We just finished our first series of weekly challenges and at the end of a month, @CodingCactus who was ranked 1st received 1 month of free hacker plan.
Today, we'll be starting another series of the weekly challenges and again, at the end of the month, whoever has the highest score, gets 1 month of free hacker plan!
That's it for the old stuff, moving forward, this week's challenge is given below!
Write a program that takes 2 numbers as input and checks if they are equal. BUT, here's a twist, you cannot use any comparision or arithmetic operators in your entire code.
- Comparision operators include
<and any other similar operators your preferred language may support.
- Arithmetic operators include
%and any other operators that perform the same function as any of the mentioned operators.
- There should be a prompt asking for user input.
- The output should be meaningfully understandable. ( Don't just print out
false, use statements such as
The numbers you entered are equalinstead )
For submitting your codes for this challenge, you need to create a new post on repl talk share board and ensure that the post title contains
#WEEKLY in it. The judging will go on throughout the week and as soon as the next post is made, the time window for submitting your code will end.
You can check out the last month's results here.
And that's it! Good luck with this week's weekly challenge and have fun!
When the first thing that comes to mind is just
(a - b)...
So, Node and Deno lack native user input capabilities, will I have to make my own for this competition?
Can you clarify the constraints on the numeric input? Will the numbers all be integer or rational numbers? Are they all formatted in decimal?