Write a Program using while loop for print all the characters from z-a.
Input Format
No Input
Constraints
Not Applicable
Output Format
All characters from z-a.
Sample Output 0
z y x w v u t s r q p o n m l k j i h g f e d c b a
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
public static void main(String[] args) {
int i=122;
while(i>=97){
System.out.print((char) i+" ");
i--;
}
}
}