Please Help me in a Problem

Revision en2, by zhang9012, 2021-09-16 11:19:08

Hi there, I want your help in a problem... Statement: Initially we have 0 dollar, and I have a printing machine by which I can print 2 dollar/second, and if I reach at A dollar I can buy another printing machine using A dollar which has a printing speed is B dollar/second, You have to find minimum time required to reach an amount of C dollar. eg.. A = 500, B = 4, C = 2000 output: 527


  Rev. Lang. By When Δ Comment
en2 English zhang9012 2021-09-16 11:19:08 12
en1 English zhang9012 2021-09-16 10:49:22 408 Initial revision (published)