What's new

Help Paunlock po Chegg

Kenji246

Eternal Poster
Joined
Jan 5, 2021
Posts
630
Reaction
990
Points
398
Mga Lods pa unlock po Chegg

Activity lang mga lodi masyado nang malalim yung question, di na kaya ng brain cells HAHAHAHA

Salamat po ng marami sa mag-uunlock

You do not have permission to view the full content of this post. Log in or register now.
 
gif.gif

import java.util.Scanner
;

public class Errors {

public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int a, b, c;
boolean found;
System.out.print("Enter the first integer: ");
a = console.nextInt();;
System.out.println();

System.out.print("Enter the second integer: ");
b = console.nextInt();

if (a > a * b && 10 < b) {
found = 2 * a > b;
} else {
found = 2 * a < b;
if(found) {
a = 3;
c = 15;
}
else {
b = 0;
a = 1;
}
}

}

}

gif.gif

true
true
false
true
 

Attachments

Slr idol, maraming salamat po sa pag uunlock hirap den kase nung program. Thankyouuu po ng marami
 

Similar threads

Back
Top