I'm working on this assignment for my class for hours, and now I'm down to 4 errors. One error says "left operand must be l-value" and three others say "function-style initializer appears to be a function definition." We're supposed to use a function with a function pointer argument so that we can pass it to another function. Any help with this is greatly appreciated!!! (and I'm sorry if I didn't post the code right, I'm new to this)

#include <iostream> #include <iomanip> #include <cmath> using namespace std; bool getChoice(); bool quit(char choice); int square(); int cube(); int fourthPower(); char choice = ' '; int *n1, *n2; void main() { cout << "Enter the first number for the interval." << endl; cin >> *n1; while (*n1 < 0 || *n1 > 100) { cout << "ERROR. Please enter a number 0 through 100." << endl; cin >> *n1; } cout << "Enter the second number for the interval." << endl; cin >> *n2; while (*n2 < 0 || *n2 > 100) { cout << "ERROR. Please enter a number 0 through 100." << endl; cin >> *n2; } } bool getChoice() { cout << "S" << setw(3) << "Square" << "\t\tC" << setw(3) << "Cube" << endl; cout << "F" << setw(3) << "Fourth Power" << "\t\tQ" << setw(3) << "Quit" << endl; cout << "Choose the option in which you would like to proceed with: " << endl; cin >> choice; switch (choice) { case 'Q': case 'q': return true; break; case 'S': case 's': return true; break; case 'C': case 'c': return true; break; case 'F': case 'f': return true; break; default: cout << "Please enter a valid choice."; } } bool quit(char choice) { if (choice = 'Q' || choice = 'q') { cout << "You chose to quit." << endl; return true; } else return false; } int square(n1, n2) { if (&n1 ==) 0 || (&n2 == 0) return 1; else return square (&n1, 2); } int cube(n1, n2) { if (&n1 == 0 || &n2 == 0) return 1; else return cube (&n1, 3); } int fourthPower(n1, n2) { if (&n1 == 0 || &n2 == 0) return 1; else return fourthPower (&n1, 4); }