You may be able to do scanf( "%d.%d", &intOne, &intTwo); and that should work, assuming you instruct the user to enter it in the format of "XX.XX", where the Xes are obviously integers. Not sure 100% sure how to get around the float issue, my C is a little rusty at the moment.
__________________
Eat antimatter, Posleen-boy!
|