Retired

Triangle Make (retired)

Description:

Create a function that will return a triangle that is n lines long made out of a certain symbol, input consisits of the symbol the triangle is made of and how many lines the triangle has.

Note: All inputs of symbol will not be more than 1 character long

Note: Spacing is important

Ex: if symbol equals "i" and lines equals 7 output would be

      i
     iii
    iiiii
   iiiiiii
  iiiiiiiii
 iiiiiiiiiii
iiiiiiiiiiiii
Puzzles
Games
Loops
Control Flow
Basic Language Features
Fundamentals
Logic
Strings
Data Types

Stats:

CreatedOct 29, 2021
Warriors Trained12
Total Skips0
Total Code Submissions22
Total Times Completed9
Java Completions9
Total Stars0
% of votes with a positive feedback rating40% of 5
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes3
Total Rank Assessments7
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • MelonFruit Avatar
Ad