Link Search Menu Expand Document

Challenge 2: Display Output Using Placeholders

  • Problem Statement

The task is to display the pyramid of numbers in the following format.

1
22
333
4444
55555


Coding Exercise

fn test() {
   // Write code here!
}

Note: There is a test function given in the code for testing purposes. Do not modify it. Good luck!🤞