Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. If (num < 0) Then
  2. Console.WriteLine("El numero es negativo.")
  3. ElseIf (num = 0) Then
  4. Console.WriteLine("El numero es 0.")
  5. Else
  6. Console.WriteLine("El numero es positivo.")
  7. End If
  8.  
  9. If (num = 0) Then
  10. Console.Write("Se ingresó el cero.")
  11. Else
  12. If (num > 0) Then
  13. Console.Write("Se ingresó un valor positivo.")
  14. Else
  15. Console.Write("Se ingresó un valor negativo.")
  16. End If
  17. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement