package reverse; import java.text.DecimalFormat; public class Reverse { public static void main(String[] args) { int i=1; while(i<=100) { char c=(char)('A'+Math.random()*('Z'-'A'+1)); System.out.println(c); i++; } } }