here im not sure exactly what you are needing,
so ill post this, it needs alot of work, and will not
work correctly unless the amounts are evenly divided.
Code:
#include <iostream>
using namespace std;
int main()
{
int days, miles;
cout << "how many days?" << endl;
cin >> days;
cout << "how many miles?" << endl;
cin >> miles;
cout <<"# of points : ";
cout << (days * 100) + ((miles/300) * 250) << endl;
cin.ignore( 100 , '\n' );
cin.get();
return 0;
}
Code:
output : 1250 points
with 10 days and 300 miles.