Answers

2014-08-15T13:59:59+05:30
#include<iostream.h>
#include<math.h>
void main()
{
   int a, b;
   float c;          //will store the value of ur function
   cout<<"input a and b"<<endl;             
   cin>>a>>b;
   c= pow(a,2)+pow(b,2)
   cout<<"the value is:"<<c<<endl;
}
 

and as per ur age I recommend u to use Borland C++ 4.5 which is much easier then Dev C++........ 
0