FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaAllCode/FindLargetNoInJava9.java at main · Manoj18121812/JavaAllCode · GitHub
Manoj18121812
/
JavaAllCode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Issues
0
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
JavaAllCode
/
FindLargetNoInJava9.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (21 loc) · 704 Bytes
Breadcrumbs
JavaAllCode
/
FindLargetNoInJava9.java
Copy path
File metadata and controls
28 lines (21 loc) · 704 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
24
25
26
27
28
package
AllDailyPractice
;
import
java
.
util
.
Scanner
;
public
class
FindLargetNoInJava9
{
public
static
void
main
(
String
[]
args
) {
Scanner
sc
=
new
Scanner
(
System
.
in
);
System
.
out
.
println
(
"Enter the first no"
);
int
x
=
sc
.
nextInt
();
System
.
out
.
println
(
"Enter the second no"
);
int
y
=
sc
.
nextInt
();
System
.
out
.
println
(
"Enter the Third no"
);
int
z
=
sc
.
nextInt
();
if
(
x
>
y
&&
x
>
z
)
System
.
out
.
println
(
"First number is largest."
);
else
if
(
y
>
x
&&
y
>
z
)
System
.
out
.
println
(
"Second number is largest."
);
else
if
(
z
>
x
&&
z
>
y
)
System
.
out
.
println
(
"Third number is largest."
);
else
System
.
out
.
println
(
"Entered numbers are not distinct."
);
}
}
Back
|
FazBrowse Home
|
New Git URL