Answer:
#include <iostream>
#include <stack>
#include <queue>
#include <string>
int main()
{
while ( true )
{
std::string letters;
std::cout << "Please enter a word (Enter - exit): ";
std::getline( std::cin, letters );
if ( letters.empty() ) break;
std::stack<char>
s( std::stack<char>::container_type( letters.begin(), letters.end() ) );
std::queue<char>
q( std::queue<char>::container_type( letters.begin(), letters.end() ) );
while ( !s.empty() && s.top() == q.front() )
{
s.pop();
q.pop();
}
if ( s.empty() ) std::cout << "The word is a palindrome" << std::endl;
else std::cout << "The word is not a palindrome" << std::endl;
}
return 0;
}
Explanation:
A <em>stack</em> is used to replicate a stack data structure in C++ while <em>Queue </em>container is a replica of the queue data structure in C++, Unlike stack, in the queue container, there are two ends, i.e. front, and back.
In the code above to be able to use used stack and queue, we included the headers #include <stack> and#include <queue>.
Never heard of that but it probably just have the kind of use of abobe flash
Answer:
XML (Extensible Markup Language):
Explanation:
XML (Xtensible Markup Language):
It is a markup language that is used for creating web-pages, it defines a set of rules that makes it readable both to humans and machine.
XML was primarily designed to be a software and hardware independent tool and it's focus was on data. XML provides a framework for defining markup languages.
XML, HTML and XHTML are all related to each other because they are all markup languages and can be used to build websites.
Basically,
-HTML is primarily for web-pages.
-XML is primarily for data.
-XHTML is a standard based on HTML that follows the strict rules of XML.
Answer:
When working with cloud computing, drive failures and need for usage and data is easily identifiable, so in short term, all of the things that show the user/s what needs to be done is the characteristic.
Explanation:
Answer:
C. a registered Microsoft Account