+ 1

how to have the user define variabled

I am trying to create a simple programming language using if else if and switch case I want the user to be able to define variables how?

20th Sep 2016, 2:28 PM
Vivek Anand
2 Respostas
+ 1
import java.util.Scanner; class MyClass { public static void main(String[ ] args) { Scanner myVar = new Scanner(System.in); System.out.println(myVar.nextLine()); } } I think you mean that, don`t you?
20th Sep 2016, 7:45 PM
Laurin
Laurin - avatar
- 1
привет
20th Sep 2016, 3:37 PM
Artyr Cozhi4
Artyr Cozhi4 - avatar