Program should get time when call began and how long call was been and output time when call was finished and cost of call.
When I input 23.59(start time)
and input2: 3(call long in minutes)
tend must be 0.02
but its int this case tend output is 23.62
I do not understand why output 23.62 I write code in while but its not affective?
Can anyone tell me why and how fix this problem?