codegen: handle exceptions of a method
[mate.git] / tests / Div1.java
1 package tests;
2
3 public class Div1 {
4         public static void main(String []args) {
5                 int a = 100;
6                 int b = 23;
7                 System.out.printf("%d\n", a / b);
8                 System.out.printf("%d\n", a % b);
9                 System.out.printf("%d\n", b / a);
10                 System.out.printf("%d\n", b % a);
11         }
12 }