Question
1. Write pseudocode and C-program to solve the problem: ask users to input a sequence of numbers and print them on the screen in the
1. Write pseudocode and C-program to solve the problem: ask users to input a sequence of numbers and print them on the screen in the reverse order. You must use the stack ADT as discussed in the class in your main program to solve the problem. No standard library functions are allowed, except malloc, free and formatted printing, in all your program. You must use a linked list to represent a stack in your implementation of the stack ADT. Your C-program has to be organized into three files: the header file for stack ADT, the source file for ADT implementation, and the client (i.e., the main) file that use the ADT. there will be 3 files satckADT.c stack.h and main.c
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started