Last active
June 30, 2018 04:26
-
-
Save dariogabriel113/e4d4b547c917788fc861cc6dd8c430b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Fatorial { | |
public static void main(String[] args) { | |
int fatorial = 1; | |
for (int i = 1; i < 11; i++) { | |
fatorial *= i; | |
System.out.println("Fatorial de " + i + " = " + fatorial); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment