Write the recursive algorithm to find x^ n.
float power(float x, int n) { if(x=0) { return 0; } else if(n==0) { return 1; } if(n>0) { return x * power(x,n-1); } }
Copyright © 2025 MindStudy
A product by Shunya Intelliware Solution (Registered under MSME Uddyam)