fork download
  1. #include <stdlib.h>
  2. #include<stdio.h>
  3.  
  4. int main(void)
  5. {
  6. int a=0,b=0,c=0;
  7. float d=0.0,e=0.0;
  8. printf ("a = %d\nb = %d\nc= %d\nd= %f\ne= %f\n",a,b,c,d,e);
  9. a=2;
  10. b=5;
  11. c=a+b;
  12. a=a+1;
  13. e=b/2;
  14. d=e*2;
  15. printf ("PO ZMIANIE\na = %d\nb = %d\nc= %d\nd= %f\ne= %f\n",a,b,c,d,e);
  16. system("pause");
  17. return 0;
  18. }
Success #stdin #stdout #stderr 0.01s 5268KB
stdin
Standard input is empty
stdout
a = 0
b = 0
c= 0
d= 0.000000
e= 0.000000
PO ZMIANIE
a = 3
b = 5
c= 7
d= 4.000000
e= 2.000000
stderr
sh: 1: pause: not found