In c language i have something like :
if(cond1) {} else if(cond2) {} else {}
how is this possible in Prolog?
(cond1 -> consequent1 ; cond2 -> consequent2 ; alternative )
For the record, this is called a conditional.