Commit 102e498 1 parent 3cd28b4 commit 102e498 Copy full SHA for 102e498
File tree 2 files changed +50
-0
lines changed
2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ difficulty :
3
+ - newbie
4
+ OAs :
5
+ - conditionals
6
+ projects :
7
+ - cipher
8
+ - card-validation
9
+ ---
10
+
11
+ # loneSum
12
+
13
+ [ https://the-winter.github.io/codingjs/exercise.html?name=loneSum&title=Logic-2 ] ( https://the-winter.github.io/codingjs/exercise.html?name=loneSum&title=Logic-2 )
14
+
15
+ Dados 3 valores a b c, devuelve su suma.
16
+ Sin embargo, si uno de los valores es igual a otro de los valores,
17
+ no cuenta para la suma.
18
+
19
+ ** Ejemplo**
20
+
21
+ ``` js
22
+ loneSum (1 , 2 , 3 ) → 6
23
+ loneSum (3 , 2 , 3 ) → 2
24
+ loneSum (3 , 3 , 3 ) → 0
25
+ ```
Original file line number Diff line number Diff line change
1
+ ---
2
+ difficulty :
3
+ - newbie
4
+ OAs :
5
+ - conditionals
6
+ projects :
7
+ - cipher
8
+ - card-validation
9
+ ---
10
+
11
+ # loneSum
12
+
13
+ [ https://the-winter.github.io/codingjs/exercise.html?name=loneSum&title=Logic-2 ] ( https://the-winter.github.io/codingjs/exercise.html?name=loneSum&title=Logic-2 )
14
+
15
+ Dados 3 valores int, a b c, retornam sua soma.
16
+ No entanto, se um dos valores for igual a outro dos valores,
17
+ não conta para a soma.
18
+
19
+ ** Exemplo**
20
+
21
+ ``` js
22
+ loneSum (1 , 2 , 3 ) → 6
23
+ loneSum (3 , 2 , 3 ) → 2
24
+ loneSum (3 , 3 , 3 ) → 0
25
+ ```
You can’t perform that action at this time.
0 commit comments