Computer Science, asked by pratyush191, 3 months ago

java program to print character A to Z using while loop​

Answers

Answered by profdambaldor
0

Answer:

public class Characters {

   public static void main(String[] args) {

       char c;

       for(c = 'A'; c <= 'Z'; ++c)

           System.out.print(c + " ");

   }

}

Explanation:

Similar questions