6.3..

Listing programa :

// 06311030
public static void main(String[] args) {

		int x = 1;
		int y = 5;
		
		System.out.println("x="+ x);
		System.out.println("y="+ y);
		
		System.out.print("x/4+(2-y)=");
		System.out.print(x/4+(2-y));
	
	}
 

Ispis na ekranu:

Index