The below code is written in C++, can you please write it in Scheme language with comments or explination?
thank you!!
void antiSymmetric(int b[], int sizeOfB) { bool hold = true; // set hold to true for(int i = 0; i < sizeofb;)="" for="" each="" pair="" (e,f)="" in="" b="" {="" if(hold="=" false)="" {="" cout="">< "antisymmetric="" -="" no"="">< endl;="" break;="" did="" not="" find="" (e,e)="" in="" b="" }="" for(int="" j="0;" j="">< sizeofb;)="" {="" if(b[i]="=" b[j+1]="" &&="" b[i+1]="=" b[j])="" if="" true,="" then="" pair(f,e)="" exists="" {="" if(b[i+1]="" !="b[i])" if="" true,="" relation="" is="" antisymmetric="" {="" hold="true;" break;="" }="" else="" {="" hold="false;" j="j" +="" 2;="" }="" }="" else="" {="" hold="false;" j="j" +="" 2;="" }="" }="" i="i" +="">
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here