subject

Write a program that uses the function ispalindrome given in example 6-6 (palindrome). test your program on the following strings: madam, abba, 22, 67876, 444244, trymeuemyrt modify the function ispalindrome of example 6-6 so that when determining whether a string is a palindrome, cases are ignored, that is, uppercase and lowercase letters are considered the same. the ispalindrome function from example 6-6 has been included below for your convenience. bool ispalindrome(string str){int length = str. length(); for (int i = 0; i < length / 2; i++){if (str[i] ! = str[length - 1 - i] )return false; }return true; }

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:00
In a word processing program, such as microsoft word, which feature to you choose the desired picture enhancement?
Answers: 2
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
How can smart devices benefit businesses, organizations, and social communities in the global marketplace?
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Which best describes the condition under which the unicode output is the same as plain text ?
Answers: 1
You know the right answer?
Write a program that uses the function ispalindrome given in example 6-6 (palindrome). test your pro...
Questions
question
Mathematics, 31.03.2020 02:38
question
Mathematics, 31.03.2020 02:38
question
Mathematics, 31.03.2020 02:38
question
Mathematics, 31.03.2020 02:39