00:01
In this video, we will write a program that receives an asp code as an integer between 0 and 127 and displays its corresponding character.
00:08
For example, if a user would enter 97, the program would display the lowercase character a.
00:16
I've already created the class as well as the main method within it.
00:19
I've also already imported java .u -tel .scanner since we'll be taking user input.
00:23
So the first thing we can do is go ahead and do the main method and create a new scanner object, calling it input.
00:33
We will pass the predefined object, system .in, as an argument to the scanner, as this represents the standard input stream.
00:44
The next thing we'll want to do is prompt the user to enter a number between 0 and 127.
00:54
So we can use system .out .printl .m.
00:59
And say enter an integer between 0 and 127.
01:13
Next we'll want to store user input as an integer with the method nextint...