Topic: Function
23. Create a recursion based solution for factorials.
See more
24. Create a function that asks a user for their name then display a welcome message.
See more
25. Create a function that asks a user for a number. Generate that number of random numbers. Write the numbers to the screen.
See more
26. Create a function called petsName. In the function, ask for the user's pet's name into the variable petname and ask what kind of pet it is into the variable petkind.
Output "You have a petname that is a petkind."
See more
43. Create a function that accepts a future date and returns how long it is until that date. For instance, how many days until your next birthday.
See more
46. Enter a max number and then complete the sum from 1 to max.
See more