Computer Science Assignment
Computer Science Assignment
Q5) Enter 4 subjects marks, calculate the total and display the average
End Sub
End Class
End Sub
Q7. Design a form to find the area of square, circle and rectangle based on the user’s choice:
Dim r As Decimal
r = Val(InputBox("Enter the radius", "CIRCLE"))
TextBox1.Text = Math.PI * r * r
End Sub
End If
End Sub
End Class
Q10) Prg to accept 4 subject marks, calculate percentage and display final result as first class,
second class, pass class.
End Sub
End Class