- Messages
- 4
- Reaction score
- 0
- Points
- 16
Sir patulong sa pag fix
eto po yung codes ko pasabi narin po ng mali kasama na rin po sa attachment yung problem at sample output po dapat.
Dim tuition, fee, dcI As Integer
Dim stuition As String
-----------------------------------------
tuition = stuition
stuition = TextBox1.Text
-----------------------------------------
If RadioButton1.Checked = CheckState.Checked Then
dcI = tuition / 10
fee = tuition - dcI
fee = Str(stuition)
ElseIf RadioButton2.Checked = CheckState.Checked Then
dcI = tuition * 0.5
fee = tuition + dcI
fee = Str(stuition)
ElseIf RadioButton3.Checked = CheckState.Checked Then
dcI = tuition * 0.1
fee = tuition + dcI
fee = Str(stuition)
End If
eto po yung codes ko pasabi narin po ng mali kasama na rin po sa attachment yung problem at sample output po dapat.
Dim tuition, fee, dcI As Integer
Dim stuition As String
-----------------------------------------
tuition = stuition
stuition = TextBox1.Text
-----------------------------------------
If RadioButton1.Checked = CheckState.Checked Then
dcI = tuition / 10
fee = tuition - dcI
fee = Str(stuition)
ElseIf RadioButton2.Checked = CheckState.Checked Then
dcI = tuition * 0.5
fee = tuition + dcI
fee = Str(stuition)
ElseIf RadioButton3.Checked = CheckState.Checked Then
dcI = tuition * 0.1
fee = tuition + dcI
fee = Str(stuition)
End If