VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code allows you to Display the average of 2 quarters and the final exam.

by Froggy (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 1st August 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code allows you to Display the average of 2 quarters and the final exam.

Rate This code allows you to Display the average of 2 quarters and the final exam.



'them. You also need a lable to display the average
Private Sub cmdCalculate_Click() ' You can change the name of the command button
   lblAvereage.Caption = (txtA * 2 + txtB * 2 + txtC * 1) / 5
End Sub
'Now you can add a clear button and exit button. DONT FORGET TO CHANGE THE NAMEs
'IF WANTED!
 

Download this snippet    Add to My Saved Code

This code allows you to Display the average of 2 quarters and the final exam. Comments

No comments have been posted about This code allows you to Display the average of 2 quarters and the final exam.. Why not be the first to post a comment about This code allows you to Display the average of 2 quarters and the final exam..

Post your comment

Subject:
Message:
0/1000 characters