Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


void main()
   int a, b;
   float c;          //will store the value of ur function
   cout<<"input a and b"<<endl;             
   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 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts