calc_price write_cpp

	1. calc price of numbers of product
	2. write function defination in h to cpp