Posts by jav4 • 1 point
1 post
-
0
votes1
answer175
viewsQ: Java algorithm, age increase;
I wanted to know how to make an algorithm in which I inserted a year, and the value increased with age, as year 2016=1, year 2017 = 2, in a method. Something like that: int fazAniversidade(int ano)…