Write a function called isPalindrome
that takes a string as input and returns 1
if the string is a palindrome, and 0
otherwise.
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward, ignoring spaces, punctuation, and capitalization.
Write a function to print the following pattern using nested loops:
1
22
333
4444
55555
Write a function called isPrime
that takes an integer as input and returns 1
if the integer is a prime number, and 0
otherwise.