I have been assigned to plan, code, and execute a program that will input a name and a pay rate from a data file. I have begun my planning and have finished setting up the formatting for the output and all of the equations to find net pay. I am stuck on splitting $55.75 into 55 Dollars & 75 Cents. I have the formatting down to insert the 55 and 75 as declared variables into their respective places(in the format of a check), but I need help with separating 55 and 75. Any help or direction would be appreciated. Thank you.
I do not have the code yet. I need to plan out the programming before I can start on the code. My question, actually, is what code is necessary to separate the two values and how is that code implemented. I am NOT asking anyone to do my homework. I recently had surgery and fell behind on homework. I was not able to make it to class for the material so now I'm stuck to exploring on my own. I am open to any advice possible. Thank you.