fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,b;
  5. while(a+b!=0){
  6. scanf("%d%d",&a,&b);
  7. int sum=a+b;
  8. scanf("sum=%d",sum);
  9. }
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5280KB
stdin
1 2
3 4 
5 6
0 0
stdout
Standard output is empty