Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Programación Seba
Programación Seba
End If
ciudad = InputBox("Ingrese ciudad tocopilla, mejillones o fin para terminar")
___________________________________________________________________________________
_
Cls
N1 = Val(InputBox("NOTA1"))
N2 = Val(InputBox("NOTA2"))
N3 = Val(InputBox("NOTA3"))
P = (N1 + N2 + N3) / 3
If P >= 4 Then
Else
End If
________________________________________________________________________________
x = 10
y = 80
suma = x + y
velocidad = 150
If velocidad < 150 Then
Print "Bajo el límite"
Else
Print "Sobre el límite"
End If
_____________________________________________________________________
edad = Val(InputBox("Ingrese edad"))
If edad < 15 Then
Print "Niño"
ElseIf edad < 25 Then
Print "Joven"
ElseIf edad < 65 Then
Print "Adulto"
Else
Print "Adulto Mayor"
End If
______________________________________________________________________________
CM = LAC - LAN
If CM > 15 Then
Precio = 4500 + CM * 250
Print "Hay recargo de $4500"
Else
Precio = CM * 250
Print "No hay recargos"
End If
i = 3
While i >= 0
Print i
i = i - 1
Wend
________________________________________________________________________________
promedio = suma / n
Print "El promedio es "; promedio