import java.util.Scanner;
public class PJJJeden {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.print("wpisz swoją wartość a: ");
int a = sc.nextInt();
System.out.print("wpisz swoją wartość b: ");
int b = sc.nextInt();
if(a > b) {
System.out.println("prawda");
}
else {
System.out.println("falsz");
}
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter