Computer Science, asked by shivam2019lpu, 10 months ago

Q2. Stack
Himanshu is working as a Librarian in lovely professional university. His shift is going to be over soon. So he has to place n number of books having some number allocated to each book in the order of stack. Help him to place the books in the form of stack.
Input Format
2 11 12
Constraints
number of books must be greater than 0 and less than or equals to 10 and place the books in horizontal manner
Output Format
12 11
Sample Input 0

0

Sample Output 0

Invalid Books

Sample Input 1

11

Sample Output 1

Invalid Books

Sample Input 2

2
101
102

Sample Output 2

102 101​

Answers

Answered by vaibhavaugust2006
0

Answer:

Yyuhhgh

Explanation: do you

Similar questions