SOME FUNCTION BASICS PROGRAMS
1. Design a class Demo1 as follows: int fact(int k): Return the factorial of k void main (): Enter a number. Find the factorial of the number by calling the above function. Then check whether the factorial of the number is Buzz number or not. ANS i…