-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Recursive Print #1277
Comments
what if n exceeds 26? |
Hello, I would like to work on this. Can I take it up? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Write a class method recursivePrint(int count) of a class Recursion which prints "z y x w "
on the first line, "z y x " on the second line, ..., "z " on the fourth line by recursion if count is 4. If
count is n (n <= 26), n lines should be printed and the first line contains "z y x ...? ", where "?" is the
nth letter starting from "z". Note that there is a space after each letter.
Test it using a call Recursion.recursivePrint(5) in the main() method a class TestRecursion.
The text was updated successfully, but these errors were encountered: