#include <stdio.h>int main(){ int x=0; float y=0; scanf("%d",&x); printf("%d\n",x); scanf("%f",&y); printf("%f\n",y); return 0;}
-123%.567e12
-123 0.000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!