Contact: aviboots(AT)netvision.net.il
39,990 questions
51,935 answers
573 users
#include <iostream> #include <cmath> int main() { double number = 243; int N = 5; double nth_root = std::pow(number, 1.0 / N); std::cout << nth_root; } /* run: 3 */