
by using drjava
q1.Write code that uses nested loops to print the following patterns:
Pattern1:
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
Pattern 2: 1 2 3 4 5 6 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1
q2.Write code that ask user to insert an integer (n) and prints out the factorial (n!) of this number. n! = n (n-1)(n-2)(n-3)���1 , n > 0
plzz i need it asap ><

q2. Write code that ask user to insert an integer (n) and prints out the factorial (n!) of this number. n! = n (n-1)(n-2)(n-3)���1 , n > 0

for(i=6;i>=1;i--) { for(j=1;j<=i;j++) } s.o.p(+j)
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.