Description
Given the ShoeType structure type-definition.Write a function for the declaration (prototype).
struct ShoeType { char style; double price; };
void setSalePrice(char& style, double discountRate);
The record includes
style price
12 20
13 22
14 25
15 30