Computer Science, asked by dontcryop, 4 months ago

write a algorithm to celebrate your birhtday. PLEASE DONT SPAM​

Answers

Answered by keyboardavro
0

Answer:

Explanation:

Start with the number 7

Multiply by month the person was born (number 1-12)

Subtract 1

Multiply by 13

Add 5

Subtract 2

Add the day the person was born (number 1-31)

Multiply by 11

Subtract day the person was born (number 1-31)

Subtract month the person was born (number 1-12)

Divide by 5

Add 22

Divide by 200

If not a match of the month.day of the persons birthday, carefully re-read the instructions and check answers at each step

Similar questions