Advertisement
Guest User

В гугле забанили

a guest
Apr 19th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. public class ForAnon{
  2.     public static void main(String[] args) {
  3.         int n = 6;
  4.         int f = 1;
  5.         for (int i=1;i<=n;i++ ) {
  6.             f*=i;
  7.         }
  8.         System.out.println(f);
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement