-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ebdb38
commit 24310b1
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
24 changes: 15 additions & 9 deletions
24
exercises/practice/difference-of-squares/src/difference_of_squares.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
(ns difference-of-squares) | ||
|
||
(defn difference [] ;; <- arglist goes here | ||
;; your code goes here | ||
) | ||
(defn square-of-sum | ||
"Returns the square of the sum of the numbers up to the given number" | ||
[n] | ||
;; function body | ||
) | ||
|
||
(defn sum-of-squares [] ;; <- arglist goes here | ||
;; your code goes here | ||
) | ||
(defn sum-of-squares | ||
"Returns the sum of the squares of the numbers up to the given number" | ||
[n] | ||
;; function body | ||
) | ||
|
||
(defn square-of-sum [] ;; <- arglist goes here | ||
;; your code goes here | ||
) | ||
(defn difference | ||
"Returns the difference between the square of the sum of numbers up to a given number and the sum of the squares of those numbers" | ||
[n] | ||
;; function body | ||
) |