Horje
find largest digit in a number Code Example
find largest digit in a number
int n, r, l = 0; //n=num, r= reminder , l= largest.
// this is the logic code only.
while (n>0)
{
r = n % 10;
if(l<r) {
l = r;
}
n = n / 10;
}




Shell

Related
git source code Code Example git source code Code Example
source code managment tools Code Example source code managment tools Code Example
git howto Code Example git howto Code Example
Linux use ssh with github Code Example Linux use ssh with github Code Example
source code editor Code Example source code editor Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13