Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
233 B
2
Indexable
Never
#include <iostream>
 
using namespace std;
 
int main() {
     
    int n;
    cin >> n;
     
    int kvadrat = n * n;
    int kub = n * n * n;
     
    cout << kvadrat << endl;
    cout << kub << endl;
     
     
    return 0;
}