This blog is for Automation Test Engineers

Sunday, 27 August 2017

How to print all characters from a to z by using do whileloop


char c='A';
do{
System.out.print(c);
c++;
}while(c<='Z');


0

0 comments:

Post a Comment