0

Java atm code

I need to writte a code in java: An ATM user wants to take some money, But the atm Offers money Only on the vaule of 10,20,50,100€. The code needs to give us the maximal number of money and the sum of it to be equal with the money user wants to take. If the user wants to get 2430€ from the ATM. He should take 24 banknotes with the value of 100 and three bank notes with the vaule of 10

27th Jan 2019, 3:03 PM
Altina
Altina - avatar
9 odpowiedzi
+ 2
Challenge or your homework?
27th Jan 2019, 3:07 PM
Maneren
Maneren - avatar
+ 2
Altina yeah it is, 'coz trying to get solution to your homework is forbidden here in Sololearn.
27th Jan 2019, 4:27 PM
Maneren
Maneren - avatar
+ 1
its a challange!
27th Jan 2019, 11:32 PM
Qendresa L. Daka
Qendresa L. Daka - avatar
+ 1
Qendresa L. Daka so why are both of you posting it?
28th Jan 2019, 6:52 AM
Maneren
Maneren - avatar
+ 1
Need answer on challenge?
28th Jan 2019, 2:39 PM
Maneren
Maneren - avatar
0
Im sorry is there a difference bc Im new here?
27th Jan 2019, 3:13 PM
Altina
Altina - avatar
0
Maneren because we need an answer
28th Jan 2019, 11:00 AM
Altina
Altina - avatar
0
But we got the answer anyway thank you
28th Jan 2019, 11:05 AM
Altina
Altina - avatar