DataType1.java



public class DataType1 {
    public static void main( String[] args ) {

        int x = 50;
        int y = 7;
        int z;

        z = x + y;
        System.out.println( "x+y=" + z );
        z = x - y;
        System.out.println( "x-y=" + z );
        z = x * y;
        System.out.println( "x*y=" + z );
        z = x / y;
        System.out.println( "x/y=" + z );
        z = x % y;
        System.out.println( "x%y=" + z );
    }
}