$29.99
Lab Assignment 4
Write a Java Program, Which will print the following pattern using:
1. 12345
1234
123
12
1
2. *****
****
***
**
*
*
**
***
****
*****
Note: You need to write 2 programs for each of the pattern using
using:
1. For loop
2. While loop