| CodeRams Practice Problem Archive |
|---|
| Finished |
You are working as a cashier for a supermarket, and items are handed to you to be scanned one by one by the customer. You do not know how many items they have, but after the last item is scanned, the customers usually say, "done".
A series of row separated floats representing prices, with the word "done" succeeding the last item of the customer's cart.
Print out the total price of all the items.
4.99 9.99 5.49 19.49 done
39.959999999999994
6.39 38.13 1996.39 105.30 55.99 done
2202.2
| Name |
|---|


