[SOLVED] Algothon Assignment 1-Staircase to binary world

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Staircase-to-binary-world-sffbqd.zip (316.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
Rate this product

 

All Contests  Algothon Entrance Test  Staircase to binary world

Staircase to binary world

Problem Submissions Leaderboard Discussions

You are asked to build a staircase with N steps to the binary world as an example if you are asked to build a staircase with 4 steps.

Note than there shouldn’t be any empty line at the bottom.

Input Format

N – number of steps to build (an Integer)

Constraints

0 < N < 11

Output Format

print a staircase as shown in the example

Sample Input 0

5

Sample Output 0

      #
     ##
    ###
   ####
  #####

LEADERBOARD



Search



Conte

Subm Max S Difficu

Rate T

ξ ‹ξ ‹

More

οŒ‰

  • Staircase-to-binary-world-sffbqd.zip