Accept a number to check if it is a special digit number is
such that when the sum of the digits is added to the
product of its digits, the result is equal to the orignial two
digit number show the message "special number"
otherwise show the message "not a special number"
Answers
Answered by
0
Answer:
{
System.out.println("The sum of factorial of digits ="+s);
System. out.println(n+"is a special number");
}
else
{
System.out println("The sum of factorial of digits ="+s);
System.out.println(n+"is not a special number");
}
}
}
here's your sample dear!
Attachments:
Similar questions
Biology,
2 months ago
English,
2 months ago
Biology,
2 months ago
Science,
5 months ago
English,
5 months ago
Sociology,
11 months ago
Social Sciences,
11 months ago
Business Studies,
11 months ago