Afficher un message
Vieux 15/10/2007, 18h14   #2
Puppet_Sock
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: comparison logic!!

On Oct 15, 1:01 pm, Juha Nieminen <nos...@thanks.invalid> wrote:
[snip]
> If you want to do your homework in a bit more obfuscated way, you can
> do that with a one-liner:
>
> max = A > B ? A > C ? A : C : B > C ? B : C;


I compiled this, with appropriate int main etc.
added to make a complete program. It printed out
the words to Aida.
Socks

  Réponse avec citation
 
Page generated in 0,36582 seconds with 9 queries