Skip to content

Commit

Permalink
feat(3.1.1): Finished U3_L1_Activity_One
Browse files Browse the repository at this point in the history
  • Loading branch information
101zh committed Oct 6, 2023
1 parent 597b84f commit 2e7e08b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/java/Unit3/U3_L1_Activity_One.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package Unit3;

import java.util.Scanner;

public class U3_L1_Activity_One
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
double x = scan.nextDouble();
if (x==12.345){
System.out.println("YES");
}
scan.close();

}
}

0 comments on commit 2e7e08b

Please sign in to comment.