1부터 아무 수까지 더해주는 프로그램 C언어 코드 최종본

Game Introduction

소스코드 다 보세요 : #include <stdio.h> int main(void) { for (;;) { int n; int answer; printf("press any numbers!\n"); scanf_s("%d", &n); printf("All adding up to 1 to %d....\n", n); printf("%d\n", n*(n + 1) / 2); printf("You want to restart? (1(restart)/2(end)\n"); scanf_s("%d", &answer); if (answer == 1) { printf("다시 시작합니다.\n"); } else if(answer == 2) { break; } } }

How To Play

옮긴 프로젝트 : https://scratch.mit.edu/projects/92820565/ 여기서 옮겼습니다. 기존 프로젝트에 하는 법 다 나와 있으니 그거 보고 하십시오.

Author

TommyOlive

Category

Game Information

Game Popularity

139 views

Collection Count

3 favorites