If that statement is outside the loop it should only show once.
That requires you to save the amount of payment and name of the doctor that got it. As the payments are received compare the new...
Type: Posts; User: Norm
If that statement is outside the loop it should only show once.
That requires you to save the amount of payment and name of the doctor that got it. As the payments are received compare the new...
Do you know about loops and arrays? Using them would make the code shorter and easier to work with.
See the Integer/Double class for a method to convert (parse) a String to an int/double value.
Once the values are in int/double variables, you will be able to do the needed math.
Please edit your...