Please answer this !! I have Exam Tomorrow !! Please
Q.Write Visual Basic program code to calculate run rate if overs and runs are given and if overs > 50,it Should display proper message.
Answers
Answered by
5
Private Subcommand_click()
Dim runs, overs, run rate as integer
Runs=text1.text
Overs=text2.text
If overs>50 then
Runrate= Runs/overs
text 3. text=runrate
End sub
Similar questions