fork(1) download
  1. #include <stdio.h>
  2. void main() {
  3. int a, b;
  4. float x, y;
  5. char c1, c2;
  6. scanf("a=%d b=%d",&a,&b);
  7. scanf(" %f %e",&x,&y);
  8. scanf(" %c, %c",&c1,&c2);
  9. printf("a=%d,b=%d,x=%f,y=%f,c1=%c,c2=%c\n",a,b,x,y,c1,c2);
  10. }
Success #stdin #stdout 0s 5280KB
stdin
3 7
8.5 71.82
A a
stdout
a=1270759728,b=22032,x=3.000000,y=7.000000,c1=8,c2=