Wednesday 27 January 2016

Write a program in java to print the english alphabets small a to z without using build in function.

Code:
class Atoz
{
  public static void main(String args[])
  {
    int i;
    for(i=97;i<=122;i++)
    {
      System.out.print((char)i+" ");
    }
  }
}

No comments:

Post a Comment