It asks me to do something i can't clearly understand.....
Please explain what it is saying.
I can't clearly understand what it wants me to do. Can anyone help me?
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Kevin
19 February, 03:13
While a solution can be made, I agree that the instructions themselves don't explain what we are trying to print 'out'. They just say use these conditionals and use print statements. But whats the goal to print out what, etc is confusing.
0
Guadalupe Gagnon
3 November 2022, 14:32
Algebraic coordinates
+1
hidden #11160211
3 November 2022, 14:11
Hi!
Maybe my code is useful for your understanding:
Scanner console = new Scanner(System.in);
int xAxesX = console.nextInt();
int yAxesY = console.nextInt();
if (xAxesX > 0 && yAxesY > 0)
System.out.println("1");
if (xAxesX < 0 && yAxesY > 0)
System.out.println("2");
if (xAxesX < 0 && yAxesY < 0)
System.out.println("3");
if (xAxesX > 0 && yAxesY < 0)
System.out.println("4");
Have a nice day!
+3