1. Contadores / Acumuladores Hay 2 categorías 1 y 2 Los empleados de la Categoría 1 cobran $ 1500 y los de la Categoría 2, $ 1800. El programa debe mostrar la cantidad de empleados de la categoría 1 que cobraron sueldo y el Total de sueldos pagados
2. Private Sub Command1_Click() Static c As Integer Static ac As Integer Static ac2 As Integer Static tot As Integer If Text1.Text = 1 Then c = c + 1 Text2.Text = c ac = ac + 1500 Else ac2 = ac2 + 1800 End If tot = ac + ac2 Text3.Text = tot End Sub Código botón Ver
3. Private Sub Command2_Click() Text1.Text = "" Text1.SetFocus End Sub Private Sub Command3_Click() End End Sub Botón Nuevo Botón Salir