public class PrintAlphabets {
public static void main(String[] args) {
char ch;
for(ch='a';ch<'z';ch++){
System.out.println("Letters from A to Z: "+ch);
}
}
}
public static void main(String[] args) {
char ch;
for(ch='a';ch<'z';ch++){
System.out.println("Letters from A to Z: "+ch);
}
}
}
No comments:
Post a Comment
Please post your comments. Your comments make us to write more programs for you.