I'm have this assignment where you have to get an input of type float from the user which represents a value in dollars for example
4.05
so I want to convert this float to an int such that it becomes in cents so the value of the int should be 405 , I need to do this in C, anyone can provide some help ?