From a maths point of view, I don't understand that code, but assuming you are using ^ to mean "power", then you wanted:
Code:
#include <stdio.h>
#include <math.h>
int main ()
{
double m;
double n;
double side1;
double side2;
double hypo;
printf ("Enter the side of n\n");
scanf ("%lf", &n);
printf ("Now enter the side of m\n");
scanf ("%lf", &m);
side1 = pow(m, 2.0) - pow(n,2.0);
printf ( "Side 1 is" );
printf ("%lf", side1);
return 0;
}
The ^ operator has nothing to do with powers, it's the bitwise exlusive or operator.