If you turn your assignment in on time or early, you may at your option, resubmit it once after performing corrections and receive a higher score. This option is not available to late submissions, or to submissions judged by the instructor to be simply place holders for late homework.
rv = true; return rv;
int main() { cout <<NRFib(30) << endl; return 0; }
for(i=0;i<N_LIMIT;i++) { cout << setw(5) << i; } cout << endl; NOT // this is NOT code that can be modified easily. cout << "m\\n | 0 1 2 3 4" << endl; cout << "-----+--------------------------" << endl;
m\n | 0 1 2 3 4 -----+-------------------------- 0 | 1 2 3 4 5 Not: m\n | 0 1 2 3 4 ----+-------------------------- 0 | 1 2 3 4 5 AND NOT: m\n | 0 1 2 3 4 ----+--------------------------- 0 | 1 2 3 4 5
void PrintAnswer(string phrase, bool isPal) { if (isPal) { cout << '"' << phrase << '"' << YES_PHRASE << endl; } else { cout << '"' << phrase << '"' << NO_PHRASE << endl; } return; } //consider // This will make modification when you print the phrase out wrong easier void PrintAnswer(string phrase, bool isPal) { cout << '"' << phrase << '"' ; if (isPal) { cout << YES_PHRASE << endl; } else { cout << NO_PHRASE << endl; } return; }