Message from C, C++ talks

May 2019

— You need a condition that has to be true for the loop to continue. It stops looping when that condition is not tru anymore

Message permanent page

— I did that earlier, thats why i got the "10 15 20 25" correct

— Also, what's the reasoning in that last for loop?

— It should count how many numbers were produced

— 

Even it if was written right, it would just print
"In 80 minutes, Bianca can prepare 1 dishes"
"In 80 minutes, Bianca can prepare 2 dishes"
"In 80 minutes, Bianca can prepare 3 dishes"
"In 80 minutes, Bianca can prepare 4 dishes"
"In 80 minutes, Bianca can prepare 5 dishes"

— Up until 80

— You just need to print that once

— Why is it in a for loop?

— Like "10 15 20 25" bianca can prepare 4 dishes

— Wait ill try a different method

— There was few errors. I have rectified them...

https://code.hackerearth.com/0e6c80i?key=39e38bb9187bce2865d04652d4603be5

Message permanent page

— /runs

— Legend has it, they're still running...

— /runs

— Legend has it, they're still running...