What do you want to save?
Add Code snippet
New code examples
-
Java 2022-02-24 23:55:01
how to get single value from input string in java
public static void main(String[] args) { // TODO Auto-generated method stub Scanner reader = new Scanner(System.in); System.out.print("Enter the strings > "); String s1 = new String(reader.nextLine()); String[] str = s1... Add solution -
Java 2021-11-05 03:47:11
Java program for a calculator using switch case
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); System.out.print("Enter two numbers"); double first = reader.nextDouble(); double second = reader.nextDouble(); Syst... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5