+ 2

I need solve this problem please.

You have a magic box that doubles the count of items you put in every day. The given program takes the initial count of the items and the number of days as input. ....Write a program to calculate and output items count on the last day

8th Sep 2021, 7:30 PM
Ahmed Shaker
Ahmed Shaker - avatar
4 Respuestas
0
You should write something like that. Happy coding! https://code.sololearn.com/cVGFLy0xTRhA/?ref=app
8th Sep 2021, 7:58 PM
mesarthim
mesarthim - avatar
+ 8
mesarthim , you are showing a really nice code to help someone solving a task. we all appreciate this very much!  (this is my personal statement - but it is not to criticize someone !!) but there is an issue by giving a ready solution, when the op has NOT done and shown his attempt first. as a part of the community i believe that learning by doing is more helpful, than just using a shared solution. we should act more as a mentor.  it is a very successful way when we are giving hints and help, so that the op is able to solve his task by himself. it would be great if you are going to help us to keep sololearn what it is: ▪︎a unique place to learn (we are a "self" learning platform!) ▪︎an absolutely great community that is willing to help other people  ▪︎a great resource of people which has an unbelievable knowledge in coding and a long lasting experience ▪︎a place to meet people and to discuss with them all the possible points of view thanks for your understanding
8th Sep 2021, 8:17 PM
Lothar
Lothar - avatar
+ 4
Thanks for your opinions Lothar, I'll try to be a good mentor. :)
8th Sep 2021, 8:44 PM
mesarthim
mesarthim - avatar
0
Do some maths
8th Sep 2021, 7:56 PM
Hima
Hima - avatar