What is wrong in my code? | Sololearn: Learn to code for FREE!

0

What is wrong in my code?

https://www.sololearn.com/coach/3?ref=app It is my code . I don't know why is it false Please help me, thank you

9/16/2021 3:11:09 PM

Z.sl

14 Answers

New Answer

+1

Z.sl Look at this, I added what the problem was. Happy coding! https://code.sololearn.com/cBB6leK6nZ63/?ref=app

+3

The link you provided is the link to question statement of code coach here on sololearn. Kindly copy paste your code in code playground and share a link to that here.

+1

Don't take additional user input and use equality operator instead of assignment

+1

Can you write it for me, plz?

+1

Thank you very much

0

https://code.sololearn.com/c8TXLDVrBgEH/?ref=app That's my code

0

Please, firstly show your attempt. After that, ask what your problem is. Thanks for understanding. Also, you can use these steps to solve: 1- take the numbers of popsicles and siblings as input from the user. (with using cin) 2- calculate the remaining of popsicles to siblings. (with using %) 3- use a condition for making a decision like give away. (with using if-else) and print your choice (with using cout) I hope, it helps. Happy coding!

0

Thank you, but i did these steps at my code https://code.sololearn.com/c8TXLDVrBgEH/?ref=app That 's my code i tried to fix it but i couldn't

0

I show you little secret, you may use logic ! && and ect. I think if you look deeper and try it you understand my answer

-1

https://sololearn.com/coach/3/?ref=app Try this....

-3

Any one give me your mobile no.

-3

Please

-3

Any gitl

-3

🤑🤑😩👿👿🤬🤬😠