#include<stdio.h> int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF){ if(a=0&&b=0) break; else printf("%d",a+b); } } /* Main.c: In function 'main': Main.c:5:12: error: lvalue required as left operand of assignment if(a=0&&b=0) ^ */ |
Double click to view unformatted code.