/********************************************************************************************
3fileMain.cpp
	Jim Millard
	for CO311

    simple program in three files (plus headers)

********************************************************************************************/
#include <iostream>
#include <string>

using namespace std;

#include "3fileFunc.h"
#include "2fileFunc.h"

//the MAIN main, which must be here -------------
void main()
    {

    SayHello();
    string prompt = "Enter a number: ";
    SayPrompt(prompt);

    float input;
    cin >> input;

    cout << input << " squared equals " << squared(input) << endl;

    return;
    }