cout << " please enter a, b, c, d: ";
cin >> choice;
}
switch (choice);
{
case 'a':
case 'A':
printHistory();
break;
case 'b':
case 'B':
firstNumbers();
break;
case 'c':
case 'C':
nthFib();
break;
case 'd':
case 'D':
quit();
break;
i want someone to actually make this functions for me and add to the program above
void printHistory();// this function should display history
void firstNumbers();// this should display the first two fibonacci numbers
void nthFib(): // this should display the nth fibonacci number
void quit() /// and this one should make it exit
1800 posts and counting. ...What, r0shi, you expected it to be an edit after my signature?
kyle11778 is right. We don't do homework, even if you pay us (unless it's a LOT of money). We have a sound reason for this, which we can explain to you if you ask, but we won't do it. If you start the codes and ask us how to continue, or if you write the whole thing out and ask what's wrong with it, then we'll help ya. ;)