Fhernd

OperadoresCondicionalesCortoCircuito.cs

Jul 24th, 2017
1,199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.19 KB | None | 0 0
  1. class OperadoresCondicionalesCortoCircuito
  2. {
  3.     public static bool UsarParaguas(bool lluvioso, bool soleado, bool ventoso)
  4.     {
  5.         return !ventoso && (lluvioso || soleado);
  6.     }
  7. }
Add Comment
Please, Sign In to add comment