This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package stringCalculator; | |
| import java.util.Scanner; | |
| public class StringCalculatorIf { | |
| public static String[] myInput() { | |
| Scanner sc = new Scanner(System.in); | |
| String[] splitedValue = sc.nextLine().split(" "); | |
| sc.close(); | |
| return splitedValue; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print("Hello"); |
NewerOlder