second highest number in a given set of numbers

Answer Posted / kartik

Read the set of numbers in to an array ,sort it using bubble
sort(ascending order logic),the last but one number wil be
second highest number.....

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is javascript written in c?

593


What are the types of unary operators?

677


What is wrong with this program statement? void = 10;

835


How can I determine whether a machines byte order is big-endian or little-endian?

634


Write a program with dynamically allocation of variable.

619






Why is c called a mid-level programming language?

741


Explain a pre-processor and its advantages.

641


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

655


How to write a code for reverse of string without using string functions?

1593


What is an example of structure?

606


write a program to generate address labels using structures?

4019


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1672


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

758


why wipro wase

1844


Can the “if” function be used in comparing strings?

612