Untitled

user_0563559 avatar
user_0563559
c_cpp
10/18/2023 4:58 PM
292 B
19
Indexable
#include <iostream>
using namespace std;

int main() {


    int a, number, prod = 0;

    cin >> a;

    for (int i = 0; i < a; ++i) {
        prod *= number;
    }

    cout << prod;

    return 0;
}
Editor is loading...