to find the biggest and smallest of three numbers

Wednesday, December 3rd, 2008  »  Posted By Ranjith  »  Total 0 Comment

Here is an optimized program to find the largest and smallest among three entered numbers. Logic : The entered three numbers N1, N2, N3 are compared in such an order, where the first comparison checks if  N1  largest. If so, prints it out and exists; if not so, it omits N1 from further comparison and [...]

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup