Java programming
Wednesday, January 14, 2009
/* This program calculate the summation of the digit of a given number Sample Input 123456789 Sample output 45
- */
m=m/10;
}
System.out.println("The sum of the digit of the number:"+sum);
}
}/* This program calculate the summation of the digit of a given number Sample Input 123456789 Sample output 45
© Blogger template Leaving by Ourblogtemplates.com 2008
Back to TOP
0 comments:
Post a Comment