Flag 7 grade maths> How to write a Java program for factorial...
question mark

How to write a Java program for factorialDo the programme with scanner

Honey , 8 Years ago
Grade 11
anser 1 Answers
Sriesh

Last Activity: 8 Years ago

5! Is written as 5 factorialIt is 1*2*3*4*5Another example-7!1*2*3*4*5*6*7This means that u have to multiply everything before the numberStart the program as"Import Java.util.ScannerScanner sx=new Scanner(System.in);
star
LIVE ONLINE CLASSES

Prepraring for the competition made easy just by live online class.

tv

Full Live Access

material

Study Material

removal

Live Doubts Solving

assignment

Daily Class Assignments