CS301 Assignment No. 1 | Solution | Spring | May | 2020 |

Опубликовано: 13 Июль 2026
на канале: EFILES4U
127
0

Subscribe For More Videos...

Like Comment & Share the Video

CS301 Assignment No. 1 | Solution | Spring | May | 2020 |

Solution GuidLines:
1. First understand the code given in handouts about stack.
2. Get stack size from user to allocate space for stack dynamically.
3. Get identity number of books that user want to enter into the stack.
4. Get value one by one and push into stack.
5. Don’t allow popping if stack is empty and pushing if stack is full.
6. If identity number of book is dividable by 8 and 5 then priority should be given to 8.

#cs301 #cs301assignment #cs301assignmentsolution #data #structures