Program1.c
unknown
c_cpp
8 months ago
385 B
6
Indexable
Never
#include <stdio.h> int main() { int sum = 0; while (1) { int input; printf("Enter A Number \n"); scanf("%d", &input); if (input > 9 && input <= 99) { continue; } sum += input; if (input == -1) break; } printf("The Result Is %d", sum); return 0; }
Leave a Comment