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 certificatel. ist. Output "Minimum certificate level " followed by the minimum level of all the Certificate objects. Ex: If the input is: 4 Eli 8 Noa 2 Pat 9 Kim 7 then the output is: Minimum certificate level: 2 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
