Question: pleeeasse hurry and please show the functions using cpp c++ (4 (4 Marks - 30 Minutes) Write C++ program that contains two structs as follow:
(4 (4 Marks - 30 Minutes) Write C++ program that contains two structs as follow: - Struct name shoezype that contain three members: atyle - price - adate Style for the shoe style - Price for its prices - adate for arrival date - Struct name date that contain three members: year - month - day The program contains three functions vo1d readshoerecord (shoetypes newshoe): Shoerype digcount (shoetype oldRecord); vold printshoerecord (shoetype newshoe); The first function fills new Shoe with values read from the keyboard. The second function returns a structure that is the same as its argument, but with the price reduced by 10%. The third function print newShoe information. In the main, you will call the three functions. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
