Home /
Expert Answers /
Computer Science /
the-program-first-reads-integer-certificatecount-from-input-representing-the-number-of-pairs-of-in-pa253
(Solved): The program first reads integer certificateCount from input, representing the number of pairs of in ...
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.