fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. double n = 54.1;
  7. int iSeisu = (int)n;
  8. float ff = n - iSeisu;
  9. printf("sei=%d syou = %f",n, ff );
  10. return 0;
  11. }
Success #stdin #stdout 0s 15224KB
stdin
Standard input is empty
stdout
sei=-1934564472 syou = 54.100000