Recursively Printing Numbers 1 - 10

advertisement
Recursively Printing Even Numbers
The goal for this exercise is to start writing recursive code. You’ll start here,
with a relatively simple task.
This class should be found in the Student_Answers.cs file in a project
named something like 03_PCE_StudentCode. This class will print out all
(integer) the numbers from 1 through 10 (including both 1 and 10) recursively.
In order to do this recursively, you'll need to have the method pass a parameter
to itself.
What you need to do for this exercise:
1. Implement the Print_Numbers_Recursively method to print the numbers 1
through 10, recursively
a. Test this out on your own, using the Program.cs file.