codificacioens

Upload: noe-armira

Post on 07-Aug-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/20/2019 codificacioens

    1/2

    Mayor o igual ho menor 

    Private Sub Command1_Click()

    If Text1.Text = Text2.Text Then Text.Text = !"# i$ual!

    If Text1.Text % Text2.Text Then Text.Text = !"# &a'or!

    If Text1.Text Text2.Text Then Text.Text = !"# e# menor!

    "nd Sub

    Promovido

      Private Sub Command1_Click()If Text1.Text %= * Then

    Text2.Text = !+,rovado!

    "l#e

    Text2.Text = !-o Promovido!

    "nd If 

    "nd Sub

    Mayor de edad

    Private Sub Command1_Click()

    If Text1.Text %= 1 Then

    Text2.Text = !&a'or de "dad!

    "l#e

    Text2.Text = !menor de edad!"nd If 

    "nd Sub

  • 8/20/2019 codificacioens

    2/2