0
Code coach
Please can someone explain the code coach to me for example "candies
3 Réponses
+ 1
Israel Afolabi the way Code Coach works is that you write your program to accept input from the console. It should do the processing, then print the result. Make sure that your output is exactly what the task requires - no more, no less - and with capitalization, spelling, etc. that matches what the task says.
When you press RUN, Code Coach will run your program several times, providing different inputs each time as if a user were at the console typing it in. It will compare your program's outputs with its expected outputs and report the results to you.
Which task are you pointing out? I didn't find a "candies" task. Do you mean "Candles" or "Halloween Candy"?
0
It means you find the percentage of candies in the house visited. Using code, I will shift 100 to the left and normalize the number of houses - 1
((100<<1)+houses-1)/houses
0
Yeah I mean candles