0
Code coach
I don't understand how code coach works Pls help me
8 Respuestas
+ 1
OK Premoniyi❤ what you are suppose to do is pick a code coach problem and using one of the languages available for that particular assignment you are expected to solve it ( passing all the tests ).... rather it's c, c++, c#, java, swift4, ruby, or python
+ 1
I d ok not know how to solve it
0
Please show us your code by using the code playground copy your code and give us as much detail as possible as to where you are either making error or the issue you are having.
0
Kk chill
0
I am trying to but I can't copy it...
0
So are you getting confused about the modulo or the if conditions 🤔 ?
0
Popsicles
You have a box of popsicles and you want to give them all away to a group of brothers and sisters. If you have enough left in the box to give them each an even amount you should go for it! If not, they will fight over them, and you should eat them yourself later.
Task
Given the number of siblings that you are giving popsicles to, determine if you can give them each an even amount or if you shouldn't mention the popsicles at all.
Input Format
Two integer values, the first one represents the number of siblings, and the second one represents the number of popsicles that you have left in the box.
Output Format
A string that says 'give away' if you are giving them away, or 'eat them yourself' if you will be eating them yourself.
Sample Input
3 9
Sample Output
give away
Explanation
You can give the popsicles to the brothers and sisters because they would each get the same amount, 3.