ICSE Java
Wednesday, 27 January 2016
Write a program in java to print the english alphabets capital A to Z without using build in function.
Code:
class AtoZ
{
public static void main(String args[])
{
char i;
for(i='A';i<='Z';i++)
{
System.out.print(i+" ");
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment