subject
Geography, 02.01.2022 06:40 briarwilliams9668

DATA STRUCTURES LAB SYLLABUS Data Structure (STACK)

Experiment 1:
Write a program to Pop the top element from stack S.
Experiment 2:
Write a program to input an infix expression into a string variable. Convert the expression into postfix notation by using stack.
Experiment 3:
Write a program to input and Push 10 values into a stack. Pop the values from the stack and print only even values on the screen.
Experiment 4:
Write a program to input and Push 5 values into a stack. Pop values from the stack one by one and calculate factorial of each using a recursive function and print the results on the screen.

ansver
Answers: 2

Another question on Geography

question
Geography, 23.06.2019 17:30
Sam hated the long nights of winter! his mother called him in from playing so early: around 4: 30 pm! it is usually dark out when sam is eating supper. what letter represents the long nights where sam lives? a) a. b) b. c) c. d) d.
Answers: 1
question
Geography, 24.06.2019 22:30
If we review the changes in the landscape surrounding the great salt lake in utah we can see a change in topography. look at the area to the south of the lake. what changes occurred during the last twenty-nine years? a-erosion of the hills b-an increase in marshland c-flooding of the area and the development of wetlands d-deposition of sediments and an increase in elevation
Answers: 1
question
Geography, 25.06.2019 05:00
In shallow water at the beach, manuel saw an animal whose body was protected by hard plates. its body also had radial symmetry. the animal pumped water into its tube feet to move. which invertebrate group does this animal belong to? a. mollusks b. echinoderms c. sponges d arthropods
Answers: 2
question
Geography, 25.06.2019 12:10
Which event would most likely cause a competition for water? male deer hunt for their food. a valley is stricken with drought. prairie dogs search for shelter. a rainforest is exposed to sunlight.
Answers: 1
You know the right answer?
DATA STRUCTURES LAB SYLLABUS Data Structure (STACK)

Experiment 1:
Write a progra...
Questions
question
Mathematics, 27.06.2019 16:30
question
World Languages, 27.06.2019 16:30
Questions on the website: 13722367