Computers and Technology
Computers and Technology, 13.08.2019 02:30, kingk7368

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; }

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, Remba
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, hargunk329
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, Alexaisokay1
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
Do you know the correct answer?
Write a program that uses the function ispalindrome given in example 6-6 (palindrome). test your pro...

Questions in other subjects:

Konu
Mathematics, 15.07.2019 01:30
Konu
Mathematics, 15.07.2019 01:30