#include <stdio.h>


int main(void)

{


int num; 

int add = 0;

type:;

printf_s("더할 숫자를 입력! (0=종료): ");

scanf_s("%d", &num);



while (num > 0)

{

add = add + num;

printf("더해진다 더해진다!: %d \n", add);

goto type;

break;

}

system("pause");

return 0;

}