0 0
Read Time:6 Second

Write a program to print
*
**
***
****
on screen.

class Exercise2{
  public static void main(String[] args){
    System.out.println("*\n**\n***\n****");
  }
}
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Verified by MonsterInsights