Rekursif

#include <stdio.h>
#include <conio.h>
#include <iostream.h>
#include <math.h>
int main()
{
float x,y,hasil;
cout<<"bilangan :";
cin>>x;
cout<<"pangkat berapa :";
cin>>y;
hasil = pow(x,y);
cout<<hasil;
//return 0;
getch();
}

Leave a Reply