Write a statement that calls the recursive function BackwardsAlphabet() with parameter startingLetter.
#include using namespace std;void BackwardsAlphabet(char currLetter){if (currLetter == 'a') {cout < currletter=""><>}else{cout < currletter="">< "="">BackwardsAlphabet(currLetter - 1);}}int main() {char startingLetter;startingLetter = 'z';/* Your solution goes here */return 0;}Please help me with this problem using c++.
void BackwardsAlphabet(char currLetter){if (currLetter == 'a') {cout < currletter=""><>}else{cout < currletter="">< "="">BackwardsAlphabet(currLetter - 1);}}
int main() {char startingLetter;
startingLetter = 'z';
/* Your solution goes here */
return 0;}
Please help me with this problem using c++.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here