P
P
PRAIT2019-08-11 19:20:03
Java
PRAIT, 2019-08-11 19:20:03

How to display the English alphabet using a loop?

Hello, I need to display the English alphabet using unicode using a loop. How to do it guys?
ABCDEFGHIJKLMNOPQRSTUVWXYZ

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-08-11
@PRAIT

for (char c = 'A'; c <= 'Z'; c++) {
    System.out.print(c);
}
System.out.println();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question