Answer:
Step-by-step explanation:
#include <iostream>
#include <iomanip>
#include <ostream>
#include <string>
using namespace std;
int main()
{
int x = 100;
int a,y;
double price[100], sqft[100], solution[100];
a = 1;
y = 0;
do
{
if (x!=0)
{
x++;
}
cout << "\tPlease enter your houses base price for it's model : $";
cin >> price[x];
cout << "\tPlease now enter that house's total sqft : ";
cin >> sqft[x];
solution[x]=price[x] / sqft[x];
system("pause");
system("cls");
cout << fixed;
cout << "\tYour value Per Sqaure foot for this house is " << setprecision(2) << solution[x] << endl;
system("pause");
cout << "\tWould You like to Enter another House? (1 - Yes 0 - No) ";
cin >> a;
if (a = 0)
{
x = y;
}
system("pause");
system("cls");
} while (a != 0);
system("pause");
return 0;
}