challenges

Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.

This project is maintained by chankruze

Easter Eggs

You go hunting for Easter eggs with a friend. You think that you have found all of the eggs, but you want to make sure that you don’t leave any behind! Compare Easter baskets with your friend to decide if you should keep hunting.

Task

If you know the total number of eggs that were hidden and the amount in both of your baskets. Evaluate whether it is time to eat candy or keep hunting for more eggs.

Input Format

Three integer values. The first represents the total number of eggs, the second, the amount in your basket, and lastly the amount that your friend has found.

Output Format

A string that says ‘Keep Hunting’ if there are still eggs out there or ‘Candy Time’ if you found all the eggs.

Sample Input

100
40
60

Sample Output

Candy Time

Explanation

If you have 40 eggs and your friend has 60, you have found all of the eggs (100) and can enjoy them.

Solutions

Language Solution
C not available
CPP not available
C# not available
Python available
Java not available
Ruby not available
Swift not available