Professional Documents
Culture Documents
// main.cpp
// sec07_26
//
// Created by James Varga on 2/17/20.
// Copyright © 2020 James Varga. All rights reserved.
//
#include <iostream>
#define PI 3.14
void initMenu();
void menuDecision(int);
double areaCircle(double);
int choice;
initMenu();
menuDecision(choice);
return 0;
}
void initMenu()
{
cout << "Enter Option:" << endl;
cout << "1. Circle" << endl;
cout << "2. Square" << endl;
cout << "3. Rectangle" << endl;
cout << "4. Triangle" << endl;
}
break;
case 4:
break;
default:
cout << "You didn't Choos any of the options from above" << endl;
}
}
cout << "The area of a circle that radius is: " << r << " " << result << endl;
return result;
}