EASY ENGINEERING BY NVSA SOLUTIONS :: NVSA
1234
Solution-3
public class Star2 {
public static void main(String[] args) {
for(int k=0;k<=4;k++)
{
for(int l=4;l>=k;l--)
{
System.out.print(k);
}
System.out.println("");
}
// TO DO Auto-generated method stub
}
}
1 comment:
Unknown
22 April 2019 at 03:57
Super
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Super
ReplyDelete