#include #include using namespace std; float sum(); // function prototypes void anotherFunction(); void fun(char a, int i); void fun(int a, int b); // the main function int main() { int num = 0; anotherFunction(); fun('w', 6); fun(1, 2); while (num < 3) { cout << "Enter a number: "; cin >> num; switch (num) { case 1: sum(); break; case 2: anotherFunction(); break; } if (num == 3) { cout << "Good bye!" << endl; } } cout << "I'm inside of main." << endl; return 0; } // another function float sum() { cout << "I'm inside of function: sum" << endl; // anotherFunction(); return 50; } void anotherFunction() { cout << "I'm inside of anotherFunction" << endl; // sum(); } void fun(char a, int i) { cout << "First is " << a << " Second is " << i << endl; } void fun(int a, int b) { cout << "First is " << a << " Second is " << b << endl; }