коты в квартирах

Anonymous
c_cpp
12/23/2023 2:33 PM
284 B
12
Indexable
#include <iostream>
using namespace std;

int main()
{
	int a[5];
	int k;
	for (int i = 0; i < 5; i++)
	{
		cin >> k;
		a[i] = k * 3;
	}
	for (int i = 0; i < 5; i++)
	{
		cout << a[i] << endl;
	}
}
Editor is loading...
Leave a Comment