Posts by Augusto César • 21 points
2 posts
-
2
votes2
answers1089
viewsA: How to put information in the attributes of an object using Arraylist?
The problem is using a String Arraylist, not clients. Start by creating a customer list... ArrayList<Cliente> clientes = new ArrayList<>(); It would be a good idea to also create a…
-
-2
votes2
answers1857
viewsA: Variable percentage in c
First you need the float value, that is, divide the percentage value by 100. Be careful with conversions ( int result = desc / 100 would result in 0, as decimals would be truncated when converting…
canswered Augusto César 21