Skip to content

Commit b99fff2

Browse files
authored
Update Main.java
1 parent 6a6dcce commit b99fff2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Main.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ public double fraction (double x) {
388388
}
389389

390390
public int charToNum (char x) {
391-
int y = (int) x;
392-
return (y);
391+
return (int) x;
393392
}
394393

395394
public boolean is2Digits (int x) {

0 commit comments

Comments
 (0)