#include <stdio.h>
int main(){
int n,i=0,sum=0;
//5개의 정수 입력
while(i<5) {
n=0;
//입력 받는 수가 0이하 일때 재입력
while(n<1) {
scanf("%d",&n);
}
sum+=n;
i++;
}
printf("%d",sum);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: