GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Algorithms-Java/src/boolean39.java at master · professorDeveloper/Algorithms-Java Expand file tree/ Copy pathboolean39.javaMore file actions 25 lines (22 loc) · 680 Bytes / Copy pathboolean39.javaFile metadata and controls25 lines (22 loc) · 680 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 import java.util.Scanner; public class boolean39 { public static void main(String[] args) { boolean x11,y11,x22,y22; Scanner scanner=new Scanner(System.in); System.out.println("x1 :"); int x1=scanner.nextInt(); System.out.println("y1 :"); int y1=scanner.nextInt(); System.out.println("x2 :"); int x2=scanner.nextInt(); System.out.println("y2 :"); int y2=scanner.nextInt(); int a=Math.abs (y1-y2); x11=(0<x1)&&(x1<=8); y11=(0<y2)&&(y1<=8); x22=(0<x2)&&(x2<=8); y22=(0<y2)&&(y2<=8); int b=Math.abs (x1-x2); System.out.println(true); } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |