Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
359 B
0
Indexable
Never
#include <iostream>

using namespace std;

int main()
{
    int arr[10];
    int arr2[10];
    int vol;
    for (int i = 0; i <= 9; i++) {
        cin >> arr[i];
    }
    cin >> vol;
    for (int i = 0; i <= 9; i++) {
        arr2[i] = arr[i] * vol;
    }

    for (int i = 0; i <= 9; i++) {
        cout << arr2[i] << endl;
    }
}


Leave a Comment