Can you read this

import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner sc=new Scanner(System.in);
String x=sc.next();
char ch[]=x.toCharArray();
int size=ch.length;
for(int i=0;i<ch.length;i++)
{
if(ch[i]>=65 && ch[i]<=90)
{
System.out.println(ch[i]);
}
}

}

}
plz correct my code where i went wrog

@karthik1989photos,
https://ide.codingblocks.com/s/270502 corrected code.
You also have to print the other characters as well.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.