/Palindromes

Quickly find out if a string is a palindrome or not. Then, print it out in fancy form.

Primary LanguageJava

Overview

This program traverses a string of any length and determines whether it's a palindrome or not (algorithm has O(N) space-time complexity). If the user input is a palindrome, it asks the user if he/she would like to print it in a fancy box form.

Environment

  • Command Prompt
  • Java 14.0.2

Execution

To execute the program: java Palindromes

Screenshot demonstrating the user input and special print method

Useful Websites