Skip to content

Commit e472153

Browse files
committed
add solution
1 parent 8e55ee8 commit e472153

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Exercise.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
public class Exercise {
22

33
public static void main(String[] args) {
4-
// implement exercise here
4+
int a = 13;
5+
int b = 4;
6+
int c = a / b;
7+
int d = a % b;
8+
9+
System.out.println("a: " + a);
10+
System.out.println("b: " + b);
11+
System.out.println("Ganzzahliger Quotient von a/b: " + c);
12+
System.out.println("Divisionsrest von a/b: " + d);
513
}
614
}

0 commit comments

Comments
 (0)