hi i just need some help in programming....
here it is.. "make a program that will accept 5 integers and will display the median".

Use quick sort technique.

There is no short and sweet way of doing this.

hi i just need some help in programming....
here it is.. "make a program that will accept 5 integers and will display the median".

hi choudalcua,
use the below coding to find out the median of the 5 integers.
try below coding........
Private Sub Command1_Click()
For i = 1 To 5
a = InputBox("Enter the Number")
b = Val(b) + Val(a)
Next
c = b / 5
MsgBox c
End Sub

Regards
Shailaja

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.