Functions concept
write a program to accept input from user and find sum of its degit if the sum of its degit is even then find again the sum of sum of degit if sum is less then 10 then it is strange number. and if number is odd then find the special numer a special number is a number which is the sum of input and the sum of input degit equal to 100. if number equal to 100 then it is a special number. solve this only functions concept.
Example
Input
789
Output
Sum of7,and 9 is 24.
even
sum of 2 and 4
6
6 is less then 10.so it is a strange number.
Following is sample java code.
int i = 10;
if(i>0){
System.out.println('positive');
}