Произведение чисел
Anonymous
c_cpp
10/19/2023 3:23 PM
376 B
17
Indexable
//КОШЕЛЕВ ДАНИИЛ
//произведение чисел
#include <iostream>
using namespace std;
int main() {
int piroma = 1;
int a;
cin >> a;
for (int i = 0; i < a; i++) {
int v;
cin >> v;
piroma*=v;
}
cout << piroma;
}Editor is loading...