#include <iostream>
using namespace std;
int main() {
int arr[6] = {3,4,6,7,8,3};
arr[0] = 0; //updation
for ( int i=0 ; i<=5 ; i++ ) {
cout<<arr[i]*2<<endl; // can also do anything with the input by just adding the condition after arr[]*/+/-/whatever
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: