#include /*This program adds infinite number of integers*/ main() { int a,b=0; char ch; clrscr(); while(1) { if(b==0) printf("\nStart Entering the numbers for addition: "); else printf("\nEnter the number: "); scanf("%d",&a); b=b+a; if(b!=a) { printf("Sum = %d",b); printf("\nWant to continue? ÛY/NÛ>> "); ch=getch(); printf("%c\n",ch); if(ch==110||ch==78) { printf("\nThanks! Press a key to return..."); getch(); exit(); } } } }