Kattis Competiton (Roaming Romans)

Note:

This code was written during a crunch period and isn't perfect. There will be some errant spacing, some files will be using namespace std, etc. But it's all still usable and can be a handy guideline if you're learning Data Structures.

#include <vector>
#include <map>
#include <math.h>
#include <string>
#include <iomanip>

using namespace std;

class Romans
{
public:
    int convert(double engMi)
    {
        int convValue = engMi * (5280.0 / 4854.0) * 1000.0 + 0.5;
        return convValue;
    }
};

int main(int argc, char *argv[])
{
    string line;
    getline(cin, line);
    double engMiles = stod(line);

    Romans conv;
    cout << conv.convert(engMiles);
}