fork download
  1. # include <stdio.h>
  2. void main ( )
  3. {
  4. int a,b,c,d;
  5. printf("Give values of a and b\n");
  6. scanf("%d %d",&a,&b);
  7. c=a+b;d=a-b;
  8. printf("%d %d",c,d);
  9. }
Success #stdin #stdout 0.01s 5296KB
stdin
Standard input is empty
stdout
Give values of a and b
164524398 164458866