Answer:
thank you for the free point have a great rest of your day
Answer:
#include <iostream>
#include <string>
using namespace std;
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++)
{
if (tolower(str[i]) != tolower(str[length - 1 - i]))
return false;
}
return true;
}
int main()
{
string s[6] = {"madam", "abba", "22", "67876", "444244", "trymeuemyrt"};
int i;
for(i=0; i<6; i++)
{
//Testing function
if(isPalindrome(s[i]))
{
cout << "\n " << s[i] << " is a palindrome... \n";
}
else
{
cout << "\n " << s[i] << " is not a palindrome... \n";
}
}
return 0;
}
Answer:
See explaination
Explanation:
Please kindly check attachment for the step by step solution of the given problem
Answer:
Technician b is correct
Explanation:
Before adjusting drive-belt tension, it is very important to check the vehicle workshop manual for specified belt tension, so that you can match your reading against the specification in the vehicle's service manual. If the tension reading you have matches the suggested reading in the vehicle's service manual and the belt is not damaged then you do not need to proceed any further. But if the reading does not match, then you can adjust the belt tension.
Therefore, technician b is correct.