Answer:
#include <iostream>
#include <array>
using namespace std;
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++)
if (toupper(str[i]) != toupper(str[length - 1 - i]))
return false;
return true;
}
int main()
{
array<string, 6> tests = { "madam", "abba", "22", "67876", "444244", "trymEuemYRT" };
for (auto test : tests) {
cout << test << " is " << (isPalindrome(test) ? "" : "NOT ") << "a palindrome.\n";
}
}
Explanation:
The toupper() addition forces characters to uppercase, thereby making the comparison case insensitive.
Answer:
2002
Explanation:
Please mark me brainliest :)
The name of the programming language is “Brainfugd”
Answer:
OB. by zooming in on them
hope it helps
The dual-layer-IP allows ipv4 and ipv6 at the network layer to access a single tcp/udp stack.
<h3>What is the dual IP layer?</h3>
The word dual-stack is a word that connote a full or total duplication of all stages in the protocol stack ranging from its applications to the network layer.
Note that the dual-layer-IP method often gives room for a computer to run IPv4 and IPv6 simultaneously at the network layer, and all of the IP stack can access a different TCP/UDP stack.
Learn more about architecture from
brainly.com/question/9760486