Math, asked by patil281998, 3 months ago

class FactorialExample
public static void main(String args[]){
int i, fact=1;
int number=5;//It is the
for(i=1;i<=number;i++){
fact=fact*i;
}
System.out.println("Factorial of "+number+" is: "+fact);
}
}​

Answers

Answered by samyarajmahato708
1

Answer:

what is this . this is a question or what

Similar questions