Answer:
#include <bits/stdc++.h>
using namespace std;
int main() {
string ms;
getline(cin,ms);
stack<char>st;
for(int i=0;i<ms.length();i++)//Inserting every element in the stack..
{
st.push(ms[i]);
}
while(!st.empty()) //doing operation until the stack is not empty..
{
char a=st.top();//accessing the top element of the stack...
st.pop();//removing the head.
cout<<a;//printing the character..
}
return 0;
}
Input:-
murder
Ouput:-
redrum
Explanation:
An easy way to reverse anything is to use stack.Since stack is LIFO type data structure so the last item in will be the first one to get out hence it reverses the elements.So inserting every element of the string into the stack of characters and then printing the every element of the stack from top to bottom.
Multitasking, it allows you to do more than one thing at once.
Answer:What report provides data on how specific sections of a website performed? 100% Correct Answer: Content Drilldown report
Explanation: sorry if it’s wrong
Answer:
There are 3 Data Hazard
Explanation:
Find attached the solution
The view that perpetual processes can be thought of in terms of a software/hardware metaphor is known as the: information processing view.
<h3>What is the Information Processing View?</h3>
Information processing view is explained by the cognitive theory to explain how the brain encodes information and how information are filtered from what we pay attention to in a particular moment. This also determines what is stored in the short-term or in our long-term memory.
Therefore, the view that perpetual processes can be thought of in terms of a software/hardware metaphor is known as the: information processing view.
Learn more about the information processing view on:
brainly.com/question/24863946