subject
Computers and Technology, 08.02.2021 17:10 u8p4

Create a class template for a class named GeneralStack that holds • A single data member as an array named stack of size 50 to store certain elements
• A constructor to initialize stack with value 0 or 0.0 at all its indexes
• Three member functions i. e. push(type) to add elements in the Stack, pop() to remove elements
from the stack, and currentStatus() to check whether the array is filled or not. (A filled array is
an array that has non-zero value at all of its indexes).
In the main() function, create three objects with different data types of class GeneralStack and test the
functionality of member functions for various values of data members for these objects.

in C++ language..
object oriented programing..

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 22.06.2019 19:00
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
You know the right answer?
Create a class template for a class named GeneralStack that holds • A single data member as an arra...
Questions
question
Mathematics, 27.10.2020 01:10
question
Mathematics, 27.10.2020 01:10
question
Biology, 27.10.2020 01:10
question
Mathematics, 27.10.2020 01:10
Questions on the website: 13722360