From acf692d5b910c1da4cdfee6a28b34a01f192eef9 Mon Sep 17 00:00:00 2001 From: dadgam3er Date: Thu, 5 Sep 2024 11:12:08 -0400 Subject: [PATCH] bismiALLAH --- Stdinout.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Stdinout.java diff --git a/Stdinout.java b/Stdinout.java new file mode 100644 index 0000000..9dc8ab8 --- /dev/null +++ b/Stdinout.java @@ -0,0 +1,14 @@ +import java.util.Scanner; + +public class Stdinout { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + int x = sc.nextInt(); + sc.nextLine(); + String y = sc.nextLine(); + sc.close(); + + System.out.println("Int: " + x); + System.out.println("String " + y); + } +}