public class Solution { public static void main(String[] args) { char outcome; long randomNumber; while(true) { randomNumber = System.currentTimeMillis() % 91; if(randomNumber >= 65 && randomNumber <= 90) break; } outcome = (char)randomNumber; System.out.println("The random char is " + outcome); } }