VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.OptionButton optDance 
      Caption         =   "BreakDance"
      Height          =   495
      Index           =   1
      Left            =   11040
      TabIndex        =   9
      Tag             =   "100"
      Top             =   2280
      Width           =   1215
   End
   Begin VB.Frame Frame2 
      Caption         =   "Dance Classes"
      Height          =   2655
      Left            =   10920
      TabIndex        =   8
      Top             =   1920
      Width           =   1935
      Begin VB.OptionButton optDance 
         Caption         =   "Bharathanatyam"
         Height          =   495
         Index           =   3
         Left            =   240
         TabIndex        =   11
         Tag             =   "300"
         Top             =   1560
         Width           =   1215
      End
      Begin VB.OptionButton optDance 
         Caption         =   "DiscoDance"
         Height          =   495
         Index           =   2
         Left            =   120
         TabIndex        =   10
         Tag             =   "200"
         Top             =   960
         Width           =   1215
      End
   End
   Begin VB.OptionButton OptSoft 
      Caption         =   "C"
      Height          =   495
      Index           =   0
      Left            =   1920
      TabIndex        =   5
      Tag             =   "400"
      Top             =   2040
      Width           =   1215
   End
   Begin VB.Frame Frame1 
      Caption         =   "Software Classes"
      Height          =   3255
      Left            =   1440
      TabIndex        =   4
      Top             =   1680
      Width           =   2175
      Begin VB.OptionButton OptSoft 
         Caption         =   "Java"
         Height          =   495
         Index           =   2
         Left            =   480
         TabIndex        =   7
         Tag             =   "600"
         Top             =   1920
         Width           =   1215
      End
      Begin VB.OptionButton OptSoft 
         Caption         =   "C++"
         Height          =   495
         Index           =   1
         Left            =   480
         TabIndex        =   6
         Tag             =   "500"
         Top             =   1200
         Width           =   1215
      End
   End
   Begin VB.CheckBox Check2 
      Caption         =   "Dance Classes"
      Height          =   495
      Left            =   11040
      TabIndex        =   3
      Top             =   720
      Width           =   1215
   End
   Begin VB.CheckBox ChkSoft 
      Caption         =   "Software Classes"
      Height          =   615
      Left            =   1440
      TabIndex        =   2
      Top             =   480
      Width           =   1455
   End
   Begin VB.CommandButton Command2 
      Caption         =   "EXIT"
      Height          =   495
      Left            =   6000
      TabIndex        =   1
      Top             =   3120
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "FEES"
      Height          =   495
      Left            =   6000
      TabIndex        =   0
      Top             =   2040
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i As Integer, j As Integer, k As Integer, total As Integer
Private Sub Command1_Click()
Dim total1 As Integer
Dim total2 As Integer
If ChkSoft.Value = 1 Then
 For j = 0 To 2
  If OptSoft(j).Value = True Then
   total1 = total1 + Val(OptSoft(j).Tag)
  End If
 Next j
End If
If Check2.Value = 1 Then
 For k = 1 To 3
  If optDance(k).Value = True Then
   total2 = total2 + Val(optDance(k).Tag)
  End If
 Next k
End If
total = total1 + total2
MsgBox "The  total Fees is:" & " " & total, vbOKOnly + vbInformation, "fees"
End Sub

Private Sub Option1_Click()

End Sub

Private Sub Option2_Click()

End Sub

Private Sub Option3_Click()

End Sub

