Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If (num < 0) Then
- Console.WriteLine("El numero es negativo.")
- ElseIf (num = 0) Then
- Console.WriteLine("El numero es 0.")
- Else
- Console.WriteLine("El numero es positivo.")
- End If
- If (num = 0) Then
- Console.Write("Se ingresó el cero.")
- Else
- If (num > 0) Then
- Console.Write("Se ingresó un valor positivo.")
- Else
- Console.Write("Se ingresó un valor negativo.")
- End If
- End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement