what does that mean?? what is scanner? why to use that??
how to add lines from keyboard??
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Shaikh Adil Asif
10 November, 15:29
public class Solution {
public static void main(String[] args) {
//write your code here
Scanner input = new Scanner(System.in);
String firstLine = input.nextLine();
String secondLine = input.nextLine();
String thirdLine = input.nextLine();
System.out.println(thirdLine);
System.out.println(secondLine.toUpperCase());
System.out.println(firstLine.toLowerCase());
}
}
0