1
submitted 3 months ago by planet@clj.social to c/clojure@lemmy.ml

Greatest of three numbers in Clojure

https://clojure-diary.gitlab.io/2024/08/16/greatest-of-three-numbers-in-clojure.html

Code ;; greatest_of_three_numbers.clj (def a 27) (def b 20) (def c 25) (if (> a b) (if (> a c) a c) (if (> b c) b c)) (if (> a b) (if (> a c) a c) (if (> b c) b c)) (if (and (> a b) (> a c)) a (if (and (> b a) (> b c)) b...

#clojure #clj #cljs !clojure@lemmy.ml @clojure

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 16 Aug 2024
1 points (66.7% liked)

Clojure programming language discussion

451 readers
2 users here now

Clojure is a Lisp that targets JVM and JS runtimes

Finding information about Clojure

API Reference

Clojure Guides

Practice Problems

Interactive Problems

Clojure Videos

The Clojure Community

Clojure Books

Tools & Libraries

Clojure Editors

Web Platforms

founded 4 years ago
MODERATORS