public class bool{
public static void main(String []args){
int a=10;
int b=15;
int c=20;
int d=20;
System.out.println("the value of a is " +a);
System.out.println("the value of b is " +b);
System.out.println("the value of c is " +c);
System.out.println("the value of d is " +d);
System.out.println("the evaluated expression (a>b) is " +(a>b));
System.out.println("the evaluated expression (a>c) is " +(a>c));
System.out.println("the evaluated expression (c>c) is " +(c>c));
System.out.println("the evaluated expression (c>d) is " +(c>d));
System.out.println("the evaluated expression (5>6) is " +(5>6));
System.out.println("the evaluated expression (6>5) is " +(6>5));
}
}
public static void main(String []args){
int a=10;
int b=15;
int c=20;
int d=20;
System.out.println("the value of a is " +a);
System.out.println("the value of b is " +b);
System.out.println("the value of c is " +c);
System.out.println("the value of d is " +d);
System.out.println("the evaluated expression (a>b) is " +(a>b));
System.out.println("the evaluated expression (a>c) is " +(a>c));
System.out.println("the evaluated expression (c>c) is " +(c>c));
System.out.println("the evaluated expression (c>d) is " +(c>d));
System.out.println("the evaluated expression (5>6) is " +(5>6));
System.out.println("the evaluated expression (6>5) is " +(6>5));
}
}
No comments:
Post a Comment