1

Second Smallest Number (Id-1242)

Just for Practice 1 Additional [3-Jan-2018 to 10-Apr-2018]

CSE1002 Bonus Practice Sheet Winter 2018 [17-Mar-2018 to 7-Apr-2018]

Program ID- 1242

 

Given a set of elements, design an Algorithm and write the subsequent C program to determine the second smallest number in that set.

Input Format

Number of elements in ‘n’

element-1

element-2

element-n

Output Format

Second smallest element in the set

Code

Please Comment Working if the code worked to you

If you have other working codes please comment the codes enclosing with <pre> and </pre> 🙂

Example: <pre> Your Code </pre>

C Code [By Chir Patel]

The Above Codes are for reference only. It doesn't mean everyone to directly copy/paste those codes.

 

Click Here to Leave a Comment Below 1 comments
shivam - March 15, 2018

this code is not running




0



2

Reply

Leave a Reply:

This site uses cookies and by using the site you are consenting to this.