// arith.cpp -- some C++ arithmetic
#include <iostream>
using namespace std;
int main()
{
    cout.setf(ios_base::fixed, ios_base::floatfield); // fixed-point
    float hats, heads;

    cout << "Enter a number: ";
    cin >> hats;
    cout << "Enter another number: ";
    cin >> heads;

    cout << "hats = " << hats << "; heads = " << heads << "\n";
    cout << "hats + heads = " << hats + heads << "\n";
    cout << "hats - heads = " << hats - heads << "\n";
    cout << "hats * heads = " << hats * heads << "\n";
    cout << "hats / heads = " << hats / heads << "\n";
	return 0;
}
