So I\'m trying to find all the uppercase letters in a string put in by the user but I keep getting this runtime error:
Exception in thread \"main\" java.lan
public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter the number"); String str= input.nextLine(); int ascii; for(int i=0; i= 65 && ascii <= 90) { System.out.println("captal letter found ::: "+ascii); } } }