ambujraj / ambujraj/hacktoberfest2018
Create a Recursive Print
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 140
- Forks
- 1k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.