Methods
fibonacci(nth)
fibonacci is function to get Fibonacci number at the nth term.
Parameters:
Name | Type | Description |
---|---|---|
nth |
number | The nth term to find. |
getGuitars(numberOfGuitars)
getGuitars is function to get a string containing the amount of guitars you want.
Parameters:
Name | Type | Description |
---|---|---|
numberOfGuitars |
number | The number of guitars you want to display. |
getStars(numberOfStars)
getStars is function to get a string containing the amount of stars you want.
Parameters:
Name | Type | Description |
---|---|---|
numberOfStars |
number | The number of stars you want to display. |
getUnicorns(numberOfUnicorns)
getUnicorns is function to get a string containing the amount of unicorns you want.
Parameters:
Name | Type | Description |
---|---|---|
numberOfUnicorns |
number | The number of unicorns you want to display. |