Pythagoras triplet

my code is working fine on other ide but not compiling on coding block ide

#include using namespace std; int main() { int n; cin>>n; if(n%2==1){ int n1=2*(n-1)(n+1)/4; int n2=((n-1)(n-1)/4) +((n+1)(n+1)/4); cout<<n1<<" "<< n2; } else{ int n3=(nn/4)-1 ; int n4=(n*n/4)+1; cout<<n3<<" "<<n4; } return 0; }

Hi @Basant-Kumar-1342173592623612, pls save your code on ide.codingblocks.com and share the URL here.