English, asked by geetoinam2471, 11 months ago

C program for adding two numbers

Answers

Answered by Anonymous
1

Answer:

C program to add two numbers repeatedly

int main() { int a, b, c; char ch;

while (1) { printf("Input two integers\n"); scanf("%d%d", &a, &b); getchar();

printf("(%d) + (%d) = (%d)\n", a, b, c);

printf("Do you wish to add more numbers (y/n)\n"); scanf("%c", &ch);

↫↫↫↫↫ Hope it helps you

Plz mark me brainlist ↬↬↬↬↬

Similar questions