summaryrefslogtreecommitdiff
path: root/3.1-v1.cpp
blob: c8bbee926e3f131a986226cc0171600951142a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>
#include "sales_data.hpp"

/*
 *
 * 2.41 - 1.20
 *
 *
 */
using std::cout;
using std::cin;
using std::endl;
int main () {
	
	SalesData book1;
	while(cin >> book1.BookNo >> book1.UnitsSold >> book1.Revenue) {
		cout << book1.BookNo << " " << book1.UnitsSold << " " << book1.Revenue << endl;
	}
	
	return 0;
}