#Loops
###Resources
###Exercises
- Write a method that prints the numbers 1 through 10 using a loop.
- Write a method that prints the numbers 1 through 10 using a different kind of loop.
- Write a method that takes in an
int
n and prints the numbers 1 through n.- Write a method that takes in an
int
n and prints the even numbers 2 through n.- Write a method that prints the sum of 1 through 10 using a loop.
- Write a method that takes in an
int
n and prints the sum of the numbers 1 through n using a loop.- Use the method you wrote in part 6 to print the sum of the numbers from 1 through 10000.
- Write a method that takes in an
int
n and aString
s and prints out s on its own line, n times. If n is negative, print "".- Modify the method to print out the string concatenated with itself n times.
- Write a method that prints the first ten Fibonnaci numbers.
- Modify the method to sum the first ten Fibonnaci numbers.
- Modify the method to take in an
int
n and sum the first n Fibonnaci numbers.