#include <iostream>
using namespace std;
int main() {
const int SALES_1 = 10000,
SALES_2 = 15000;
const double COMMISSION_1 = .10,
COMMISSION_2 = .15,
COMMISSION_3 = .20;
int VALUE_IN_SALES;
double COMMISSION_RATE;
cout << "Enter in the value in sales you have and I will tell you your comminsion rate.";
cin >> VALUE_IN_SALES;
if (VALUE_IN_SALES <= 10000)
cout << "Your commission rate is .10.";
else if (VALUE_IN_SALES <= 15000)
cout << "Your commision rate is .15.";
else
cout << "Your commision rate is .20.";
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: