COMPUTER SOFTWARE APPLICATION - CITS
}
System.out.println(“Factorial of “ + number + “: “ + factorial);
scanner.close();
}
}
Output:
49
CITS : IT & ITES - Computer Software Application - Exercise 87 CITS : IT & ITES - Computer Software Application - Exercise 87