Initial commit
This commit is contained in:
12
kapitel5/modulo-ex1.c
Normal file
12
kapitel5/modulo-ex1.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("%d / %d = %d\n", 3, 2, 3/2);
|
||||
printf("%d %% %d = %d\n\n", 3, 2, 3%2);
|
||||
|
||||
printf("%d / %d = %d\n", 13, 4, 13/4);
|
||||
printf("%d %% %d = %d\n", 13, 4, 13%4);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user