Please help me know why my code is not working for all test cases.please help

#include
using namespace std;
int main(){
int N;
cin>>N;
float m=2.0,n=1.0;
if(N>0 && m>n && n>0 && m>0){
if(N%2==0){
m=N/2.0;
n=1;
cout<<mm - nn<<" “<<mm + nn ;
}
if(N%2!=0){
m= (N+1)/(2.0);
n= (N-1)/(2.0);
cout<<2mn<<” "<<mm + nn ;

}
}
else{
	cout<<"-1"<<endl;
}
return 0;

}

please share link of code

paste you code at

click on file->save->link will be generated
send the link of code generated
it will look like https://ide.codingblocks.com/s/258793

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.