Posts by Cláudio Fernandes • 1 point
1 post
-
-1
votes0
answers31
viewsQ: Java - problem when factorial using while
The idea is to type I type 3 numbers and calculate the factorial of each number. But I didn’t understand why the variable is keeping the value, for example. String entra; int cont = 1; int numero =…