// Filename: MegaDriver.cpp
// Author: G. Safko  <greg.safko@gmail.com>
// CS&P Lab Lecture
// Description: Objects, and OOP
// Date Written: March 21, 2005
// Last Changed: March 21, 2005
 

#include <iostream>
#include <cstdlib>
#include <fstream>
#include <cmath>
#include "mega.cpp" 
#include "safkoUtils.h"
using namespace std;



int main()
{
	string s1;
	Mega m2(1.66, -3);
	s1 = m2.toString( );

	string exp;
	double d = 9263.13572468;
	exp = dtos(d, 8);
	cout << exp << endl;

	Mega m3;
	Mega m4(2.187, -14);
	//Mega m5("8.14e+12");

	cout << m2.toString() << endl;
	cout << m3.toString() << endl;
	cout << m4.toString() << endl;
	//cout << m5.toString() << endl;

    return EXIT_SUCCESS;
}





