所以,这里是更新的线程:也许那里有我没有看到的空白?这是与以前完全相同的错误。你任何人都可以想出任何尝试,我不去做。
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
int main()
{
// 1. Initialize Objects
double retail = 0.0;
double markup = 0.0;
double wholesale = 0.00;
// 2. Input
cout << "Hello Emily CO 127: ";
cout << "Enter Retail Price: ";
cin >> retail;
cout << "Enter Mark Up Percent: ";
cin >> markup;
// 3. Process
wholesale = retail * (1 + markup);
cout << " Wholesale " << wholesale << endl;
return 0;
system("pause");
}