Есть массив, не получается от каждого элемента отнять 20? Сделать на с++

#include "pch.h"
#include

using namespace::std;

int main()
{


int i, arr[] = {1,2,3,4,5,6,7,8,9};

for (i = 1; i < 10; i++) {
arr[i] = arr[i] - 20;

}
cout << arr[i] << " ";

}
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.