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.
using namespace std;
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' );
with 10 days and 300 miles.
output : 1250 points