dashboard
repositories
filestore
activity
search
login
javascript-vorlesung
/
example-projects-2027
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
Interactive UI
Hong-Phuc Bui
2026-10-18
25064146c744dc9adb74f32c4b8cb2aba23f6666
[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;
}