// ^ ^
// ^ ^
// ^ ^ *** Tire Size Calculator by Justin Noel ***
// ^ ^
// ^ ^
// ^Run^ To Start Program
#include <iostream>
using namespace std;
int main()
{
double tireSize, liftHeight, lift, trimming, bodyLift, wheels, trim, width, fwidth, spacers, room;
cout << "Enter Lift Height: " << endl;
cin >> liftHeight;
lift = liftHeight*0.3;
cout << "Enter Body Lift Height: " << endl;
cin >> bodyLift;
cout << "At what level are you willing to trim on a scale of 0-3?:" << endl;
cin >> trimming;
trim = (trimming/1.6)+2;
cout << "Do you have Toyota wheels? If Yes > Enter 1 --- No > Enter 2: " << endl;
cin >> wheels;
cout << "What size wheel spacers do you run? > Enter 0 if N/A" << endl;
cin >> spacers;
cout << "What width tires do you want?" << endl;
cin >> width;
fwidth = (10.5 - width);
room = lift + trim + (bodyLift/1.5) - wheels - fwidth - (spacers/2);
tireSize = 30 + room;
cout << "" << endl;
cout << "" << endl;
cout << "Your max tire size is ~ " << tireSize << "." << endl;
}