I am copying and modifying an array elements {10, 20, 30, 40}
my output:20 30 40 20
expected output: 20 30 40 10
How do I grab oldScores[0] and display last in newScores[3]?
[#include <iostream>
using namespace std;
int main() {
const int SCORES_SIZE = 4;
int oldScores[SCORES_SIZE];
int newScores[SCORES_SIZE];
int i = 0;