Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # nested if <code> if(and condition1 condition2) statement#1 statement#2 </code> ### Example <code> (ns clojure.examples.hello (:gen-class)) ;; This program displays Hello World (defn Example [] ( if ( and (= 2 2) (= 3 3)) (println "Values are equal") (println "Values are not equal"))) (Example) </code> #### Output <code> Values are equal </code> ## Refs - https://www.tutorialspoint.com/clojure/clojure_nested_if_statement.htm open/nested-if.txt Last modified: 2024/10/05 06:15by 127.0.0.1