Design a class Sales with the following description:
String name : to store the name of the product.
int pro_code : to store the product code.
double price : to store the price of the product.
Sales() : to initialize the data members.
void input( ) : to input and store the details of the product.
void discount( ) : to reduce the product price by 10%.
void display( ) : to display the details of the product.