It’s showing wrong answers in two test cases. please help
A factorial Problem code
your approach and code is correct
only change you have to do is
instead of int use long long int
all testcase will passed
Modified Code
if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like : and don’t forgot to mark doubt as resolved