Submit solution
Points:
5
Time limit:
1.0s
Memory limit:
16M
Author:
Problem types
Allowed languages
Blockly, C, C++, Java, Pascal, Python
A Chocolate Factory
A chocolate factory produces chocolates. If production exceeds chocolates per day, the workers will receive a bonus. If it is or fewer, they will not receive a bonus.
Write an algorithm that:
- Asks the user for the number of chocolates produced today.
- Checks if the number is greater than .
- If yes, displays the message:
Well done! The workers get a bonus!
. - Otherwise, displays the message:
Try harder tomorrow!
.
Examples
Input
60
Output
`Well done! The workers get a bonus!`
Input
40
Output
`Try harder tomorrow!`
Comments
\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\] \[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]\[None\]
yes. this is big brain time.