Calculate factorial of any given number – factorial of number in double

Posted by admin at 14 September 2009

Category: New ICSE Schools

import  java.io.*;  class  Factorial1{    public static void  main(String[] args) {        try {          BufferedReader object =  new  BufferedReader(         new  InputStreamReader(System.in));          System.out.println( “enter the number” );          int  a= Integer.parseInt(object.readLine());          double  fact=  1 ;          System.out.println( “Factorial of ”  +a+  “:” );          for  ( int  i=  1 ; i

Visit buy prescription drugs online without prescription link:
Calculate factorial of any given number – factorial of number in double