#include <stdio.h> int main(int argc, char *argv[]) { float p = 5.1f; int f = (int)(p*100); printf("%d", f); return 0; }