Question: C++ ... please help ! A) (16 points) Given the following struct: struct applianceType string supplier string modelNo; double cost: applianceType myNewAppliance; applianceType applianceList (25]
A) (16 points) Given the following struct: struct applianceType string supplier string modelNo; double cost: applianceType myNewAppliance; applianceType applianceList (25] a) Write the C++ statement that sets the modelNo of myNewAppliance to WE345. Write the C++ Write the Ct+statements that correctly initialize the cost of each appliance in applianceList to 0. b) Write the C++ statements that print out all appliances from applianceList whose mode1No is B9046. c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
