We'll make a program to print the following pattern using while loop:
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
In this case n=5, we can change the value of n according to the given problem statement.
Feel free to post your queries and doubts in the comment section below...Just hope you are able to understand the logic and concept, please give some suggestions for improvement...Thankyou everyone ♡♥♡...!!!