Pythagouras triplet

sir can u tell me what is wrong in this question of pythagouras triplets
#include
using namespace std;

int main() {
int n;
float m,o,p=-1;
cin>>n;
if(n%2!=0)
{
m=((nn)/2);
o=((n
n)/2+1);
}
else
{m=(((n/2)(n/2))-1);
o=(((n/2)
(n/2))+1);

}
if((o*o)==((n*n)+(m*m)))
{if(o>n&&m>n)
	{cout<<m<<" "<<o;}
	else {cout<<p;}
}
else
{
	cout<<p;
}
return 0;

}

@anuragavm123,
Please use Coding Blocks IDE to share your codes, don’t just copy paste here.
Also, I think the problem wants to ask for integer Pythagorean triplets of n. Your code may give doubles as well.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.