Wednesday, September 9, 2009

How can we sort a given stack int the ascending order?

Write a C program to sort a given stack in an ascending order.

implement stack with the help of queue and vice versa

How can we implement a stack with the help of queues and queues with the help of the stack?

Find a random number

Given a function RAND5 that genrates random numbers in the range 0 t0 5write afunction that RAND7??