برنامج يوضح استخدام دالة الاس pow لايجاد القيمة الاسية لاى عدد
# include <iostream.h>
# include<math.h>
main()
{
int x ,y;
cout <<"Enter The Number x\n";
cin>> x ;
cout <<"Enter The Number y\n";
cin>> y ;
cout <<x <<" raised to the power of:"<<y<<"=";
cout<<pow(x,y);
cout << endl<< endl ;
return 0; }