fork download
  1. #include <stdio.h>
  2. int main() {
  3. int a,b,c,d;
  4. float x,y;
  5. printf("Enter an integer: ");
  6. scanf("%d", &a);
  7. printf("Enter an integer: ");
  8. scanf("%d", &b);
  9. printf("Enter an integer: ");
  10. scanf("%d", &c);
  11. printf("Enter an integer: ");
  12. scanf("%d", &d);
  13. x=a+b-c*d++;
  14. y=x++*2;
  15. printf("%.2f",x);
  16. printf("%.2f",y);
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5296KB
stdin
Standard input is empty
stdout
Enter an integer: Enter an integer: Enter an integer: Enter an integer: -2120275968.00-4240551936.00