Write a program that prints all the upper case letters in reverse order on a single line.
Answers
Answered by
0
Answer:
Python
for i in range(90, 64, -1):
print(chr (i), end='')
Java
public class Print {
public static void main(String[] args) {
char ch = (char) 90;
for (int i = 26; i >= 1; i--) {
System.out.print(ch);
ch--;
}
}
}
Similar questions