package pkg;
public class p64 {// a class
static int result=0;
// a function
static void test(int a,int b) {
if (a>b)
result=1;
else if (a<b)
result=-1;
else
result=0;
}
// the main function
public static void main(String[] args) {
//using a function
test(10,5);
System.out.println(result);
test(5,10);
System.out.println(result);
test(5,5);
System.out.println(result);
}
}