123456789101112131415161718
  1. /**
  2. * Created by leon on 2/9/18.
  3. public class MainApplication {
  4. public static void main(String[] args) {
  5. Console.println("Welcome to my calculator!");
  6. String s = Console.getStringInput("Enter a string");
  7. Integer i = Console.getIntegerInput("Enter an integer");
  8. Double d = Console.getDoubleInput("Enter a double.");
  9. Console.println("The user input %s as a string", s);
  10. Console.println("The user input %s as a integer", i);
  11. Console.println("The user input %s as a d", d);
  12. }
  13. }*/