<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Un afectivo saludo <BR>
 <BR>
Quisiera saber si se puede reducir las lineas de este codigo . EL programa consiste en hallar el numero intermedio entre un mayor y un menor.<BR>
 <BR>
De antemano gracias por la ayuda<BR>
 <BR>
#include<iostream><BR>using namespace std;<BR>#include<conio.h><BR>main()<BR>{<BR> int a, b, c;<BR> cout<<"1er # :"; cin>>a;<BR> cout<<"2do # :"; cin>>b;<BR> cout<<"3er # :"; cin>>c;<BR> if(b||c<a && a<c||b) <BR>  cout<<"nª intermdio: "<<a<<endl;<BR>    else{ <BR> if((a<c && c<b)|| (b<c && c<a))<BR>  cout<<"nª intermedio: "<<c<<endl;<BR>    else<BR>    cout<<"nª intermedio : "<<b;}<BR> getch();<BR>}<BR><BR><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>