Saturday, September 29, 2012

Java Exercise #7: Read From Console

This exercise is write a program using Scanner class to read from Console

Exercise: Write a program that reads from Console and then prints the same to the console

Enter an integer: 10
You input integer: 10

Enter a double: 15.3
You input double: 15.3

Enter a string without space: Hello
You input string: Hello

Download Code: Read From Console

No comments:

Post a Comment