generated from ACM-VIT/hacktoberfest-readme
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Create a ship command that ships 2 users. The command takes two users as parameters. The command should work in such a way that a ship between the same two users should always give the same value. This can be achieved with the following steps:
- Obtain each of the user's numerical ID.
- Multiply both the numerical IDs.
- Mod the resultant number with 101. This will produce a number that can range from 0 to 100.
Add a message to go along with the percentage, with a relevant emoji.
0% - 20% = 🥲
20% - 40% = 💔
40% - 60% = 💚
60% - 75% = 💙
75% - 90% = 💖
90% - 100% = ❤️🔥
Feel free to get creative with the message.