Test.com Interview Question

CPP program to factorial in java