import java.util.Scanner;
/**
Demonstrates the use of Scanner class
@author Nikhil Joshi
*/
public class asciicode {
public static void main(String[] args) {
//create a scanner object
Scanner console = new Scanner(System.in);
/*get full name using nextLine
nextLine gets the next line - up til user hits enter
*/
System.out.print("Enter the integer: ");
int integer = console.nextInt();
//print the results
System.out.println(); //print a blank line
System.out.println("Your ascii character is " + (char)integer);
}
}
The question is to convert from uppercase to loweracase. I would really appreciate if seomone could help me (java).