I am using a Scanner class to get the input and want to convert the input to uppercase letter when display it. This is my code
Scanner input = new Scanner(Sy
Since, java is pass by value, you need to use the return value. Either print Character.toUpperCase(c) directly or set it to some var.
Character.toUpperCase(c)
var