I have a problem in C program.I want to make a program that takes a floating point number from the user and prints the right most digit of the number as well as the right most digit of the integral part.
e.g
If i give input
32.145
the output must be like this:
the right most digit of the number is 5
the right most digit of the integral is 2