- 1

How to solve this prob help please. (Java) - New to Coding

Enter distance to be covered: 37.72 Pipes required are: 3 ten meter lengths 1 five meter lengths 2 one meter lengths 2 twenty-five centimeter lengths 2 ten centimeter lengths 0 five centimeter lengths 2 one centimeter lengths Total pipes required are: 12 lengths of pipes

28th Mar 2021, 10:14 AM
Errol
Errol - avatar
3 Answers
+ 6
Errol , before we are going to help you, you should post your attempt here. if you have not done a try by yourself first, please do so. put your code in playground and link it here. thanks and happy coding
28th Mar 2021, 10:23 AM
Lothar
Lothar - avatar
+ 1
Hi Errol Exactly what are you trying to do here. You have a set of pipes which equal the distance you wish to cover. What would be your expected input, & expected output?
28th Mar 2021, 10:26 AM
Rik Wittkopp
Rik Wittkopp - avatar