Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <math.h>
- int enesimo_algarismo(int numero, int algarismo)
- {
- return ( (int)floor( numero / pow(10,algarismo) ) ) % 10;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement