[ad_1]
You are trying to cin to a literal for some reason
cin >> "Temp[1]";
Get rid of the quotes, use correct capitalization, and use the index variable i.
cin >> temp[i];
8
[ad_2]
solved Array Code-Why Won’t it Compile?
[ad_1]
You are trying to cin to a literal for some reason
cin >> "Temp[1]";
Get rid of the quotes, use correct capitalization, and use the index variable i.
cin >> temp[i];
8
[ad_2]
solved Array Code-Why Won’t it Compile?