Hey everyone. I'm new to this site as well as I am C Programming. My instructor is moving pretty quick so I'm getting lost in some things that we're learning. If anyone can help me figure this out, it would be much appreciated.
"1. Write a C Function named as sumIntegralDigitVersionAYourName() that will ask the user for a floating point-point value and will
a. Print the sum of the 1-digit and the 100-digit of the integral part, and
b. Return the sum of the 1-digit and the 100-digit of the integral part.
2. Write a C function named as sumFractionalDigitVersionAYourName() that will ask the user for a floating-point value and will then
a. Print the sum of the first-most-significant digit and the third-most-significant digit of the fractional (decimal) part, and
b. Return the sum of the first-most-significant digit and the third-most-significant digit of the fractional (decimal) part
3. Write a C program with main() calling the above 2 functions; name your program as cis26Fall2010YourNameProblem5.c and also provide a sample output of your program. "
It's not that I have a problem with the proper syntax or anything. It's more that I don't know how to use code to find the decimal parts, significant digit, etc. I'd appreciate any help.