lg
how do I make a program?
Condition
You have learned the recipe for a delicious cake: flour, sugar and milk. Every delicious cake should contain these three ingredients. You get 5 ingredients at the entrance, find out if the cake will be delicious or not.
The input data format
is 5 words – the names of the cake ingredients.
Output data format
The answer is YES if the cake is delicious, or NO if the cake is tasteless.
15 replies