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 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 22.06.2019 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 16:00
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?
Answers: 2
question
Computers and Technology, 22.06.2019 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
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
Biology, 25.11.2019 19:31
Questions on the website: 13722367