Write Pseudo code to perform the following code Convert the Pseudo code into Kotlin. Read an integer from the user and then draw a right triangle to the screen whose height and width are specified by...

1 answer below »


  • Write Pseudo code to perform the following code

  • Convert the Pseudo code into Kotlin.

  • Read an integer from the user and then draw a right triangle to the screen whose height and width are specified by the number entered. Use a loop to draw the triangle. Be sure to handle any number that is input between 0 and N

  • if 8 was entered, your program will draw a right triangle to the screen using "*" for each dot like so:


*
**
* *
* *
* *
* *
* *
********


Part 2 -



Write a second part to the program that will take the same input number and draw a triangle using the numbers like this. You will have to use a loop within a loop.


1
12
123
1234
12345
123456
1234567
12345678



    Answered 365 days AfterApr 25, 2021

    Answer To: Write Pseudo code to perform the following code Convert the Pseudo code into Kotlin. Read an integer...

    Nimesh answered on Apr 25 2022
    86 Votes
    SOLUTION.PDF

    Answer To This Question Is Available To Download

    Related Questions & Answers

    More Questions »

    Submit New Assignment

    Copy and Paste Your Assignment Here