That's not "explaining the logic". That's just giving one example of what happens when you select one particular set of buttons. Are the radio buttons for each question worth 1, 2, 3, 4 and 5 points respectively?

oh sorry
i mean for all radiobuttons
named that starts with q1 and end with 1 the value is 5,
for the name that starts with q1 and end with 2 the value is 4,
for the name that starts with q1 and end with 3 the value is 3,
for the name that starts with q1 and end with 4 the value is 2,
for the name that starts with q1 and end with 5 the value is 1

You are giving snippets of information instead of describing the problem. If you are not going to post the problem you are trying to solve with enough information for us to provide some help then we are not going to go to the trouble of dragging it out of you by playing 20 questions. You say the values are 1, 2, 3, 4 and 5, but your code has values like 3.5 and 4.5. What you say and the code you post do not agree.

I will make a couple of suggestions that may help. You can access a control by creating the name dynamically. For example, if you have five radiobuttons named q111, q112, q113, q114 and q115, you can access each in turn by

For i As Integer = 1 To 5
Dim rad As RadioButton = Me.Controls("q11" & i)
If rad.Checked
.
.
.
End If
Next

Keep in mind that RadioButtons act as a group. If you want to treat groups of five buttons as separate groups then you should put them in a container like a Panel, or perhaps better in your case, a GroupBox. In that case the above code could be modified to

For g As Integer = 1 To 5
For i As Integer = 1 To 5
Dim rad As RadioButton = Me.Controls("g" & g & "1" & i)
If rad.Checked
.
.
.
End If
Next
Next

Hi, I'm a beginner in Vb.net. I have a problem like this.
My table name in dtabase is *tblsales*
![67f4b407a5443c6d48ba102a4779c9f2](/attachments/large/4/67f4b407a5443c6d48ba102a4779c9f2.JPG "67f4b407a5443c6d48ba102a4779c9f2")
and i have 4 …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...