Q:

Java Program to print alphabets using while loop

0

Program to print alphabets using while loop.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

import java.util.*;
import java.lang.*;
import java.io.*;

public class Alphabets
{
   public static void main(String args[])
   {
     char c = 'a';
     while (c <= 'z') 
       {
           System.out.println(c);
             c++;
       }
   }
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now