Skip to content

Commit

Permalink
Update 2023-1-13-retos-programacion.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
TripleYei authored Oct 23, 2023
1 parent b302df0 commit 4cd4b93
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _posts/2023-1-13-retos-programacion.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -741,3 +741,19 @@ function isPrime(n) {
return false
}
~~~~

Palindrome Word
~~~~
function palindromeCheck(str) {
if(str == str.split("").reverse().join(""))
return true
return false
}
~~~~

Celsius to Fahrenheit
~~~~
function convert(c) {
return (c * 9 / 5) + 32
}
~~~~

0 comments on commit 4cd4b93

Please sign in to comment.