/*********************
*
* Michael Womack
* ECGR 2103
* Section # 002
* 01/21/2020
*
*********************/
#include <iostream>
#include <cmath>
#include <cstdlib>
using namespace std;
int main() {
int creditHours = 0; //credit hours
int outOfClassTime = 0; // out of class time
int realStudyTime = 0; // real studyTime
int studyTimeDif = 0; //difference in study time
cin >> creditHours; // userInput for credit hours
outOfClassTime = creditHours * 3; // 1 inclass hour = 3 out of class
cout << "You are taking " << creditHours << " credit hours so you should spend " << outOfClassTime << " hours studying." << endl;
cout << "How many hours do you actually spend studying out of class per week?" << endl; // prompting user for study hour input
cin >> realStudyTime;
studyTimeDif = outOfClassTime - realStudyTime; //calculating the difference in study hours
cout << "You spend " << studyTimeDif << " hours less than the recommended amount." << endl;// outputs the difference in study hours
// question 3 VVVVVV
/*********************
int lengthM = 105; //harcode for length of feild
int widthM = 68; //harcode for width of feild
double lengthFT = 0.0; //conversion
double widthFT = 0.0; //conversion
int ballRadius = 11; // a size 5 ball has a radius of 11 cm
double ballCircumference = 0.0; // value for the circumference
double amtPlayers = 23.0; // amount of players on the team
double playTime = 0.0; // calculated amount of play time
lengthFT = ((lengthM * 100)/2.54)/12.0; // conversion from meters to feet
widthFT = ((widthM * 100)/2.54)/12.0; // conversion from meters to feet
ballCircumference = 2* M_PI * ballRadius; // calculation for ball radius
playTime = (11 / amtPlayers) * 90.00 ; // formula for play time
cout << "The stadiums length in ft is " << lengthFT << " feet" << endl; //output #1
cout << "The stadiums width is ft is " << widthFT << " feet"<< endl; //output #1
cout << "A size 5 ball has a circumference of " << ballCircumference << " cm"<< endl; //output #2
cout << "Each Player gets to play " << playTime << " minutes." << endl; // output #3
*******************************/
return 0;
}