// Here is the required switch statement on response character
switch(response){
case 'y': // case to check if the response is y
cout<<" Your request is being processed ";
case 'n': // case to check for n
cout<<" Than you, anyway for your consideration";
case 'h': // case to check for h
cout<<"Sorry \, no help is currently available.";
default : // default case
cout<< Invalid entry: please try again.";
}
Answer:
if the number of elements in the array are equal to the size of the array then return -1.
Explanation:
We are implementing stack using array.Stack is a LIFO(Last In First Out) type data structure.Insertion and deletion is from one end only.
So while push operation or inserting elements in the stack using array we have to check that the capacity of array is not reached.If reached then no element can be inserted in the stack.If not then we can insert element in the stack.
WikiWikiWeb was the first made by <span>Cunningham.</span>
Answer:
The answer to this question is given below in the explanation section. However, the correct answer is: student should practice netiquette in an online course when they are participating in online discussion board.
Explanation:
It is important for you as a student to recognize that the online classroom is in fact a classroom, and certain behaviors are expected when you communicate with both your peers and your instructors. These guidelines for online behavior and interaction are known as “netiquette”.
So, the correct option of this question is: students should practice netiquette in an online course when they are participating in an online discussion board. Because the discussion board is opened by the instructor/tutor, he constantly looking for student behavior throughout the discussion. so, students should use netiquette practice during the discussion in the online class.
However, other options are not correct because, in these options, there is not the presence of teacher/instructor. And, also noted that netiquette is practiced in online class by the student.