There was an error while loading. Please reload this page.
1 parent 8e55ee8 commit e472153Copy full SHA for e472153
1 file changed
Exercise.java
@@ -1,6 +1,14 @@
1
public class Exercise {
2
3
public static void main(String[] args) {
4
- // implement exercise here
+ 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);
13
}
14
0 commit comments