about | help | code help+videos | done | prefs |
Pascal's Line -- This program will find one line of Pascal's Triangle - The value coming into the method is the line number and the method will return a String representing that line in the Triangle Example 4 1-4-6-4-1 PascalsLine(4) → "1-4-6-4-1" PascalsLine(2) → "1-2-1" PascalsLine(3) → "1-3-3-1" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 160 Post-solution available
Copyright Nick Parlante 2017 - privacy