Computer Science, asked by Bhaijan2089, 9 months ago

A special number is a number in which the sum of the factorial of each digit is equal to the number itseltFor example, 145 = 1!+ 4!+ 5!=1+ 24 +120Design a class Special to check if a given number is a special number. Some of the members of the class are given belownClass name: SpecialData members/instance variablesIntegerMember functionsSpecial)constructor to assign 0 tonSpecial(int)parameterizsed constructor to assign a value to 'wvoid sumcalculate the display the sum of the first andthe last digit of 'nvoid isSpecial)check and display if the number 'n' is aspecial numberSpecify the class Special giving the details of the constructors, void sum() and void isSpecialO). You need notwrite the main function,Solution.ISC 2008)​

Answers

Answered by poojusharma120
0

7चब6सजचहतझबबणथबणजफूंबनफछघफघग

Similar questions