Skip to content

Commit

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

int main(void) {
int a, b;
scanf("%d %d", &a, &b);

printf("%d ", a / b);
printf("%d ", a % b);
printf("%.5f\n", (double)(a) / (double)(b));
}

0 comments on commit 3641b13

Please sign in to comment.