dashboard
repositories
filestore
activity
search
login
javascript-vorlesung
/
example-projects-2027
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
re-sorted
Hong-Phuc Bui
2026-10-16
6211acfb2494cf2d1985635c78f2ad659f6e25fc
[javascript-vorlesung/example-projects-2027.git]
/
01-1-arithmetic
/
division.c
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
compile: $ gcc division.c -o division
run : $ ./division
*/
#include <stdio.h>
int main() {
int q = 11 / (-7);
int r = 11 % (-7);
printf("q = %d r = %d\n", q, r);
return 0;
}