From 30f0834787c2e80e94757a728f35d0d16d88b349 Mon Sep 17 00:00:00 2001 From: Arya Parashar <66545234+aryaparasharmrt@users.noreply.github.com> Date: Tue, 19 Dec 2023 15:00:55 +0530 Subject: [PATCH] Create file.java --- file.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 file.java diff --git a/file.java b/file.java new file mode 100644 index 0000000..97e0b2a --- /dev/null +++ b/file.java @@ -0,0 +1,9 @@ +import java.util.Scanner; + +class Solution{ + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + int val1 = sc.nextInt(); + System.out.print("My value is: " + val1); +} +}