Skip to content

Commit

Permalink
Update ex2_42_1.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy committed Jun 20, 2015
1 parent e546b14 commit 9a8d512
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ch02/ex2_42_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

int main()
{
Sales_data book;
double price;
std::cin >> book.bookNo >> book.units_sold >> price;
book.CalcRevenue(price);
book.Print();
Sales_data book;
double price;
std::cin >> book.bookNo >> book.units_sold >> price;
book.CalcRevenue(price);
book.Print();

return 0;
return 0;
}

0 comments on commit 9a8d512

Please sign in to comment.