fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int x=0;
  5. float y=0;
  6. scanf("%d",&x);
  7. printf("%d\n",x);
  8. scanf("%f",&y);
  9. printf("%f\n",y);
  10. return 0;
  11. }
Success #stdin #stdout 0s 5304KB
stdin
-123%.567e12
stdout
-123
0.000000