Tuesday, 31 October 2017

java output problems



Question 01:
         What does the following code print?
System.out.println( "*\n**\n***\n****\n*****" );

It print
*
**
***
****




No comments:

Post a Comment