Write a function that takes a string as a parameter and determines the string is symmetrical around its midpoint. For ex
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a function that takes a string as a parameter and determines the string is symmetrical around its midpoint. For ex
Write a function that takes a string as a parameter and determines the string is symmetrical around its midpoint. For example: "abccba" or "abcba" are such strings. The function should return a boolean. Use the function to test if two strings read from the user are symmetrical.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!