Skip to content

Commit

Permalink
add 3_B.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Utsubo256 committed Jun 10, 2023
1 parent 60b79ca commit eb6341c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ITP1/3_B.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <stdio.h>

int main(void) {
int n, i;

for (i = 1; ; i++) {
scanf("%d", &n);
if (n == 0) break;
printf("Case %d: %d\n", i, n);
}
}

0 comments on commit eb6341c

Please sign in to comment.