diff --git a/_posts/2023-1-13-retos-programacion.markdown b/_posts/2023-1-13-retos-programacion.markdown index e30efbe..c5f89b8 100644 --- a/_posts/2023-1-13-retos-programacion.markdown +++ b/_posts/2023-1-13-retos-programacion.markdown @@ -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 +} +~~~~