FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Algorithms-Java/src/boolean29.java at master · professorDeveloper/Algorithms-Java · GitHub
professorDeveloper
/
Algorithms-Java
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1
Star
16
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Algorithms-Java
/
src
/
boolean29.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (22 loc) · 669 Bytes
Breadcrumbs
Algorithms-Java
/
src
/
boolean29.java
Copy path
File metadata and controls
23 lines (22 loc) · 669 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import
java
.
util
.
Scanner
;
public
class
boolean29
{
public
static
void
main
(
String
[]
args
) {
int
x
,
y
,
y1
,
x1
,
y2
,
x2
;
Scanner
scanner
=
new
Scanner
(
System
.
in
);
boolean
m
;
System
.
out
.
println
(
"x"
);
x
=
scanner
.
nextInt
();
System
.
out
.
println
(
"y:"
);
y
=
scanner
.
nextInt
();
System
.
out
.
println
(
"x1:"
);
x1
=
scanner
.
nextInt
();
System
.
out
.
println
(
"y1:"
);
y1
=
scanner
.
nextInt
();
System
.
out
.
println
(
"x2:"
);
x2
=
scanner
.
nextInt
();
System
.
out
.
println
(
"y2"
);
y2
=
scanner
.
nextInt
();
m
=((
x
>
x1
) && (
x2
>
x
) &&(
y1
>
y
) && (
y
>
y2
));
System
.
out
.
println
(
m
);
}
}
Back
|
FazBrowse Home
|
New Git URL