Write a program where you first enter a set of name·and·value pairs,
such as Joe 17 and Barbara 22. For each pair, add the name to a veclor
called names and the numbcr to a vector called scores (in corresponding
positions, so that if names[7]=="Joe" then scores[7]==18). l cnninate
input by the line No more ("more" will make the attempt to read anotller
integer fail ). Check that each name is unique and terminate with an crror
message if a name is entered twice. Write au[ all the (namc,score) pairs,