How do I link the strings to the integers?Code:#include <iostream> #include <string> using namespace std; int main() { int scores[48] = { 70, 66, 87, 90, 80, 95, 76, 66, 80, 61, 67, 73, 89, 89, 88, 40, 91, 91, 77, 88, 88, 67, 76, 89, 73, 81, 82, 90, 73, 66, 90, 93, 88, 80, 89, 87 }; string student[16] = { "Abbey", "Cecilla", "James", "Todd", "Hellen", "Pat", "Richard", "Alex", "Nicky", "Nora", "Paul", "Arthur", "Emillia", "Liv", "Luca", "Teddy" }; cout << scores[0] << student[3]; return 0; }
Tx.
I am totally stumped.