Page 1 of 1

thanks

Posted: Fri Jul 08, 2022 7:26 am
by answerhappygod
thanks
Thanks 1
Thanks 1 (24.53 KiB) Viewed 31 times
1. (Required) Design a structure for a product, including id (integer type), product name (char*), and price (float). Assign data for five products. Then output the ID, product name and price of the highest priced product (Using structures). For example input: 1 book 20.0 2 table 150.0 3 cup 18.0 4 lamp 32.0 5 pencil 5.0 $./a.exe The highest price product is 2 table 150.0