✏️ Code CompletionC+ C++ Medium⚡+20 XP
Range-Based For
Complete the range-based for loop.
✏️ Fill in the blank
vector<int> nums = {1, 2, 3};
for (int n ___ nums) {
cout << n << " ";
}Complete the range-based for loop.
vector<int> nums = {1, 2, 3};
for (int n ___ nums) {
cout << n << " ";
}