Computer Science, asked by mamtabaraik543, 1 year ago

wap which well raist any number x to the power n;​

Answers

Answered by rupesh4726
0

Answer:

Explanation:I

#include<iostream.h>

#include<conio.h>

#include<math.h> //for pow() function

void main()

{

clrscr();

int x,n,res;

cout<<“Enter value of x and n:”;

cin>>x>>n;

res=pow(x,n);

cout<<“nResult=”<<res;

getch();

}

Similar questions