I have an input of a numericupdowncontrol and two of groupsof radiobuttons:
And my output grade is(textbox)(button Compute)
A=> 90
B =[80..89]
C =[70..79]
D =[60..69]
F =[0..59]
I can calculate the first group of radio buttons usingt if and then button click procedure but cant add the second group of radio buttonsto the final answer.also the grade  how do you code if final grade = 80..89 then etc. thanks i  i really appreciate your help
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
0
Middle School Assistant TeacherCommented:
Yes...since this is definitely a homework assignment we need to see what work you have done already.

~IM
0
Author Commented:
Button click Event
i can calculate it using atextbox as an input but dont know a numeric up down control
Test Score = TextBox1.Text
If radio Button1 checked = True Then
If RadioButton2 checked = True Then
If RadioButton3 checked = True Then
I think this is wrong

0
Commented:
Is this what you are trying to do?

End If
End If
End If
End If
'etc...

Case Is >= 90
Case Is >= 80
Case Is >= 70
Case Is >= 60
Case Else
End Select
End Function
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
yeah somewhat like that but i cant add the other group of radio buttons by the way i forgot the labels
Extra credit
None = 0 points
Average = 3 points
Above average = 5 points
Penalties
On Time= 0 penalty
2 days late= 5 point penalty
0
Commented:
What do you mean you can't add the other group of radio buttons?
0
Author Commented:
since each group of radio buttons is in a group box.
Tips:Declare global variables by placingthe Dim statement outside all methods
*gdbExtraCredit: to remember how much extra-credit should be given
*gdbLate: remember how much late penalty should be taken off depending on wheteher its on time, 1-2 days late or more than 2 days late
*For each radio button, code a sub that handles the checkedchanged event
for example:
Private sub
gdblate = -5
>Use a group of radiobutton controls to determine the grade on extra credit
>Use a second group of radio buttons to determine whether a student handed in the assignment on time with the default on time . the other choices are 1-2 days late (5 point penalty)
and more than 2 days late( automatic score of zero)
> display the final total grade in a read-only textbox control. Use global variables to keep track of which radio button control is checked before determining the final grade.

0
Author Commented:
When i debug the program i cant select aradio button in the second group
0
Commented:
Can you show us your code?  It is hard to guess what your project looks like.  Does the second group have a different name from the first group?
0
Author Commented:
i tried your code its the same thing. Yes groupbox1 and groupbox2
0
Author Commented:
If you want ill e-mail you the user interface so you can see how it works
0
Author Commented:
Thanks i Finally figured it out
0
Author Commented:
There was extra code thats why the second group of buttonscant be accessed. Thank you very much platinumBay . Ill accept your answer.
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.