N | C ++ program to find n - th number which is both square and cube . ; Driver code
#include <bits/stdc++.h> NEW_LINE using namespace std ; int nthSquareCube ( int n ) { return n * n * n * n * n * n ; } int main ( ) { int n = 5 ; cout << nthSquareCube ( n ) ; return 0 ; }