01-20-2023 12:09 PM
I have 6 questions and each question has a given name which is the current state of the user:( Somnolence, Concentration, Eveille, Frustration, Entertainment,Content)
I got the values of the answers of these 6 questions in a table and I wrote them in a text file.
Now,
1. I want to group in one table the values of all the valuesof these 9 radio button (see also image values Radio Button.PNG attached).
2. I want to create variables Weight_1, Weight_2, Weight_3, Weight_4, Weight_5, Weight_6
Weight_1 = Sum [of all values of Somnolence in all Radio Buttons].
Weight_2 = Sum [of all the values of Eveille in all the Radio Buttons].
Weight_3 = Sum [of all the values of Frustration in all the Radio Buttons].
Weight_4 = Sum [of all Entertainment values in all Radio Buttons].
Weight_5 = Sum [of all Content values in all Radio Buttons].
Weight_6 = Sum [of all Concentration values in all Radio Buttons].
To better explain on the image:
Weight_1 = 1 + 0 + 1 = 2
Weight_2= 0 + 1 = 1
Can you help me please, I am stuck at this level
Solved! Go to Solution.
01-20-2023 11:27 AM
I have 6 questions and each question has a given name which is the current state of the user:( Somnolence, Concentration, Eveille, Frustration, Entertainment,Content)
I got the values of the answers of these 6 questions in a table and I wrote them in a text file.
Now,
1. I want to group in one table the values of all the valuesof these 9 radio button (see also image values Radio Button.PNG attached).
2. I want to create variables Weight_1, Weight_2, Weight_3, Weight_4, Weight_5, Weight_6
Weight_1 = Sum [of all values of Somnolence in all Radio Buttons].
Weight_2 = Sum [of all the values of Eveille in all the Radio Buttons].
Weight_3 = Sum [of all the values of Frustration in all the Radio Buttons].
Weight_4 = Sum [of all Entertainment values in all Radio Buttons].
Weight_5 = Sum [of all Content values in all Radio Buttons].
Weight_6 = Sum [of all Concentration values in all Radio Buttons].
To better explain on the image:
Weight_1 = 1 + 0 + 1 = 2
Weight_2= 0 + 1 = 1
Can you please help me ?
01-20-2023 01:19 PM
Maybe take a step back and explain step-by-step what the user sees and how he interacts and what the program should do. Simple terms, not a jungle of undecipherable code!
01-20-2023 01:30 PM
01-20-2023 03:31 PM
@GerdW wrote:
Hi Ngouda/Etiou,
why do you need 2 accounts and two threads to ask exactly the same question?
Maybe they are students in the same course and that's the verbatim assignment for the weekend. 😄
01-20-2023 03:41 PM