Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
267 B
1
Indexable
Never

#include <iostream>
using namespace std;

int main()
{
	int mas[10],s,r;
	for (int i = 0; i < 10; i++) {
		cin>> mas[i];
	}
	cin >> s;
	for (int i = 0; i < 10; i++) {
		mas[i]*= s;
	}
	for (int i = 0; i < 10; i++) {
		cout<< mas[i]<<" ";
	}

}
 
Leave a Comment