Question: The program first reads integer certificateCount from input, representing the number of pairs of inputs to be read. Each pair has a string and an
The program first reads integer certificateCount from input, representing the number of pairs of inputs to be read. Each pair has a string and an integer. One Certificate object is created for each pair and added to vector certificatelist. If a Certificate object's level is between 4 and 9, both inclusive, call the Certificate object's Print 0. Ex: If the input is: 4 Mai 9 Noa 10 Dan 3 Tit 4 then the output is: Certificate: Mai, Level: 9 Certificate: Tia, Level: 4 Note: The vector has at least one element
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
