javascript-algorithms
javascript-algorithms copied to clipboard
Added Palindrome Program
Implemented Palindrome Number Checker in JavaScript
-
Added a program to check if a number is a palindrome.
-
A palindrome number reads the same backward as forward (e.g., 121 is a palindrome, 123 is not).
The program:
-
Takes user input via prompt() in the browser.
-
Uses a loop to reverse the number and compares it to the original.
@mgechev can you please review my PR and merge it