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;
}
Also in C++:
- setup apollo server express
- vim jump to beginning of line
- webull on arch linux
- create gitignore files windows
- how to test a 3rd party python library across multiple environments
- Calling Non-checksummed download of pup formula file from an arbitrary URL is disabled!
- powershell connect to serial port
- helmfile install ubuntu
- powershell beeb
- pip reinstall
- find node install location windows
- ubuntu
- iframe in react
- fzf rpm
- no ip linux
- modifier un nom de branche git
- how to check python version
- ubuntu large text
- bash uppercase string
- how to open gofer in command prompt
- linux check which app is using network
- linux
- how to install cargo crate
- Invalid command 'RewriteEngine'