1. Rewrite the interface file, the implementation file, and the…

Question Answered step-by-step 1. Rewrite the interface file, the implementation file, and the… 1. Rewrite the interface file, the implementation file, and the application file for the Stack class (Program 1, Program 2, and Program 3) without using the List class object as the data member (for example, you can use an array as the data member). 2. Rewrite program 5 (reversing a stack) using an array.Image transcription textProgram 1 The interface file for the Stackclass 1 N The interface file for the Stack asthat composes an object * 3 of… Show more… Show moreImage transcription textProgram 2 Implementation file for the Stack class 1 Theimplementation file for the Stack using the definition * of menberfunction defined in the list class Wifndef STACK_CPP #… Show more… Show moreImage transcription textProgram 3 A simple application to test the Stack class NP The application file to test the operations in the stackWinclude “stack.epp” int main ( ) … Show more… Show moreImage transcription textProgram 4 A decimal to hexadecimal converter program H PJ Theapplication program to change a decimal number to its 13 hexadecimalequivalent. Winclude “stack.cpp” int main ( ) // Insta… Show more… Show moreImage transcription textProgram 5 Reversing a string using a stack WN H * The applicationprogram to reverse a string using a stack * instead of recursion. Program5 Reversing a string using a stack (continued) 5 #include &q… Show more… Show moreImage transcription textPRG-1. Rewrite the interface file, theimplementation file, and the applicationfile for the Stack class (Prog… Show more… Show more  Computer Science Engineering & Technology C++ Programming CSE 373 Share QuestionEmailCopy link Comments (0)