User-submitted Java Projects

25
2322 reads
poojak's picture

Submitted by

poojak
factorial
This programs prints factorial of a number.The output it prints is 120 as the input given is 5. Change the output to see your desired results.
Run It Now!
25
2196 reads
poojak's picture

Submitted by

poojak
simple program
prints the following pattern: * *** ***** ******* ***** *** *
Run It Now!
25
2383 reads
Adrian999's picture

Submitted by

Adrian999
Use Try-catch Blocks
The below example demonstrates how to use try-catch blocks to catch an exception. The below example encounters an Arithmetic Exception as it try's to divide 42 by 0.
Run It Now!
24
1544 reads
Anand13's picture

Submitted by

Anand13
Tags:

24
2347 reads
DealOrNoDeal(1.0)
Deal or no deal is a game based on luck and fun. first, you have 11 numbered boxes containing cash values e.i 0,1,10,100,....
DealOrNoDeal(1.0)

Enhancement Trail:  

DealOrNoDeal(1.0)    DealOrNoDeal





Run It Now!
Make & share a project and showcase your talent to the world!