fork download
  1. #include <stdio.h>
  2.  
  3. int main ( void )
  4. {
  5. double betrag;
  6. int cent;
  7. scanf ( "%lf", &betrag );
  8. cent = betrag * 100;
  9. printf ( "%d", cent );
  10. return 0;
  11. }
Success #stdin #stdout 0s 1836KB
stdin
1111.11
stdout
111110