Answer:
#include <bits/stdc++.h>
using namespace std;
bool isPalindrome(string str)
{
char a,b;
int length = str.length();
for (int i = 0; i < length / 2; i++)
{
a=tolower(str[i]);//Converting both first characters to lowercase..
b=tolower(str[length-1-i]);
if (b != a )
return false;
}
return true;
}
int main() {
string t1;
cin>>t1;
if(isPalindrome(t1))
cout<<"The string is Palindrome"<<endl;
else
cout<<"The string is not Palindrome"<<endl;
return 0;
}
Output:-
Enter the string
madam
The string is Palindrome
Enter the string
abba
The string is Palindrome
Enter the string
22
The string is Palindrome
Enter the string
67876
The string is Palindrome
Enter the string
444244
The string is not Palindrome
Explanation:
To ignore the cases of uppercase and lower case i have converted every character to lowercase then checking each character.You can convert to uppercase also that will also work.
<em>A.)</em>
<em>It's either A or D both of them stand out and make sense to me so I think that it'll be right if you choose A or D.</em>
<em>-Ɽ3₮Ɽ0 Ⱬ3Ɽ0</em>
Answer:
The information security function
Explanation:
Many who move to business-oriented information security were formerly_____ who were often involved in national security or cybersecurity . All of the above The information security function
Figure out how many people are that need the dress code and how many people that don't need the dress code. He should give the people that need dress code the dress codes.
I hope I helped you. :)
Answer:
That is the first step and it is called encoding process.