Question: c++ Look at the following code segment: struct Product { string description; int partNum; double cost; }; Product hammer; Write a statement that will assign
c++
Look at the following code segment:
struct Product { string description; int partNum; double cost; }; Product hammer;
Write a statement that will assign the value 14.99 to the cost member of the hammer variable.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
