Question

Design (pseudocode)(name it Pattern) that uses nested loops to print out the following pattern. Document your...

Design (pseudocode)(name it Pattern) that uses nested loops to print out the following pattern. Document your code properly.

1 2 3 4 5 6

1 2 3 4 5

    1 2 3 4

      1 2 3

        1 2

          1

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hey,

Below is the pseudocode to your question

  • Declare num=6
  • Declare check=num
  • Check while(num>=1)
    • For j=1 to check-num
      • PRINT " "
    • EndLoop
    • For i=1 to num-1
      • PRINT i+" "
    • EndLoop
    • PRINT num+"\n"
    • num=num-1
  • EndLoop

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Design (pseudocode)(name it Pattern) that uses nested loops to print out the following pattern. Document your...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT