How accurate are the results of this app?
Assuming the user enters 255 values of 9999999u each, would the answer be accurate?
using namespace std;
cout << "How many dimensions(2-255) does the hypercube have? ";
cin >> sides;
double area = 1, hypercube;
for(short i = 1; i <= sides; i++)
if(hypercube[i] == 0) break;
cout << "Enter dimension units(u)" << i << ": ";
cin >> hypercube[i];
area = area * hypercube[i];
cout << "\n\n\tThe hypercube has an area of: " << area << "u^" << sides;