what is out puts

0 Muhammad Ali Muhammad Ali · January 28, 2016
#incllude<iostream.h>
#include<conio>
using  namespace std;
//function  declareation
double raised(double,int)
 void main()
{
      double x;
      int i;
      cout<<"plese  enter  the  number";
      cin>>x;
      cout<<"enter   a  nu8mber  you  find  power raised";
      cin>>i;
      cout<<x<<"raised  to  power "<<i<<"is  equal to"<<raised(x,i);
      }
      //function  calculation 
      double  raised(double x,int power)
      {
         double result;
          int i;
          for(i=1;i<=power;i++)
          {  
          result=result*x;
         }
         return(result);
          }

Post a Reply

Replies

Oldest  Newest  Rating
+1 Linguist Llama · January 30, 2016
I got this from Google:

http://i.imgur.com/yPedZuj.png

Any questions?
-1 Laura Lee · January 30, 2016
Linguist Llama, quit being an arse. You knew exactly what he meant.
  • 1

C++

107,026 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator