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

/*
 *
 * 2.41 - 1.20
 *
 *
 */

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