class P2
{
public static void main(String args[])
{
int i , number , factorial ;
number = 7;
for (i=1,factorial=1 ; i<=number ; i++)
factorial = factorial * i ;
System.out.println("The factorial of "+number+" : "+factorial);
}
}
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Labels: Java Codes
Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies| |
---|