Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
337 B
0
Indexable
Never
#include <iostream>
using namespace std;
int main()
{
		int floors = 5;
		int mass[5];
		for (int i = 0; i < floors; i++) 
		{
			cin >> mass[i];
		}
		int mew[5];
		for (int i = 0; i < floors; i++) 
		{
			mew[i] = mass[i] * 3;
		}
		for (int i = 0; i < floors; i++) 
		{
			cout << mew[i] << endl;
		}
		return 0;
}
Leave a Comment