Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
307 B
1
Indexable
Never
#include <iostream>
using namespace std;
int main()
{

	int n;
	int dom[100] = {};
	cin >> n; // n < 100
	//cout << dom<<"\n";
	for (int i = 0; i < n; i++) {
		cin >> dom[i];
	}
	for (int i = 0; i < n; i++) {
		dom[i] *= 3;
	}
	for (int i = 0; i < 100; i++) {
		cout << dom[i]<<" ";
	}
}
Leave a Comment