Question: 2 3 . 1 2 LAB: Instrument information Given main ( ) and the Instrument class, define a derived class, String Ins trument, for string
LAB: Instrument information
Given main and the Instrument class, define a derived class, String Ins trument, for string instruments, with functions to set and get
private data members of the following types:
int to store the number of strings
int to store the number of frets
bool to store whether the instrument is bowed
Ex If the input is:
Drums
Zildjian
Guitar
ibson
the output is:
Instrument Information:
Name: Drums
Manufacturer: Zildjian
Year built:
Cost:
Instrument Information:
Name: Guitar
Manufacturer: Gibson
Year built:
Cost:
Number of strings:
Number of frets:
Is bowed: false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
