Skip to content
Snippets Groups Projects
Commit 457b1e0d authored by Rudi Buss's avatar Rudi Buss
Browse files

Update Exercise 1 - Farm.txt

parent 886f2bda
No related branches found
No related tags found
No related merge requests found
......@@ -13,16 +13,16 @@ float DailyPrice=0;
void Request_data() //Declaration and definition of the member function Request_data
{
cout << ãHow is the daily price?Ò<< endl;
cout << "How is the daily price?" << endl;
cin >> DailyPrice;
cout << ãWhat is the weight of the animal? " << endl;
cout << "What is the weight of the animal?" << endl;
cin >> Weight;
}
void Calculate_revenue() //Declaration and definition of the member function Calculate_revenue
{
Revenue = Weight* DailyPrice;
cout << "Revenue: " << Einnahme <<endl;
Revenue = Weight*DailyPrice;
cout << "Revenue: " << Revenue <<endl;
}
int main()
......@@ -32,6 +32,5 @@ int main()
cout << endl << endl;
system("PAUSE");
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment