ok
its for a programming C class not sure how to do this so whoever can lend a hand i'll appreciate it. here is the assignment.
Write a program that takes a real number as input and prints out the
integer and fractional part.
Example: If the input is 16.343, the output should say:
The integer part is 16 and the fractional part is 0.343.