Answer:
Explanation:
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;
}
}
cout << str << "is a palindrome";
return true;
}
Answer:
True
Explanation:
in function guess:- a = x; b = y; c = z
so 45 > 31 AND 45 < 38
since both the stements are true
True is printed
Answer:
See attached file.
Explanation:
See attached file for detailed code.
I believe it is, A. taskbar