Hi. Am trying to help someone with some coding but am out of my league. Any help would be appreciated. These are the specs I've been given (can this even be done in javascript?):
//Classify each item to have three meanings
Matches ?A,B,C
Torch ?A,B,C
Beer ?A,B,C
Blanket ?A,B,C
Shoes - A,B,C
Board Game - A,B,C
Frying Pan ?A,B,C
First Aid Kit- A,B,C
Water Purifier ?A,B,C
Radio ?A,B,C
Hammer ?A,B,C
Knife ?A,B,C
//Initialize an online form to collect data
//Participant to enter a rating for 12 items
Matches ?1
Torch ?2
Beer ?3
Blanket ?4
Shoes - 5
Board Game - 6
Frying Pan - 7
First Aid Kit- 8
Water Purifier - 9
Radio ?10
Hammer - 11
Knife - 12
- Save to txt file
//Computer to use this order and rearrange as follows
For array do
//Swap ratings to be in the order below
1 ?3
2 - 5
3 - 6
4 - 1
5 - 12
6 - 4
7 - 8
8 - 2
9 - 10
10 - 9
11 - 7
12 - 11
If rating between 1-4 for Matches then
Write MeaningA
If rating between 5-8 for Matches then
Write MeaningB
If rating between 9-12 for Matches then
Write MeaningC
//Show a web page with the computers ratings and the reasons for them
//Classify each item to have three meanings
Matches ?A,B,C
Torch ?A,B,C
Beer ?A,B,C
Blanket ?A,B,C
Shoes - A,B,C
Board Game - A,B,C
Frying Pan ?A,B,C
First Aid Kit- A,B,C
Water Purifier ?A,B,C
Radio ?A,B,C
Hammer ?A,B,C
Knife ?A,B,C
//Initialize an online form to collect data
//Participant to enter a rating for 12 items
Matches ?1
Torch ?2
Beer ?3
Blanket ?4
Shoes - 5
Board Game - 6
Frying Pan - 7
First Aid Kit- 8
Water Purifier - 9
Radio ?10
Hammer - 11
Knife - 12
- Save to txt file
//Computer to use this order and rearrange as follows
For array do
//Swap ratings to be in the order below
1 ?3
2 - 5
3 - 6
4 - 1
5 - 12
6 - 4
7 - 8
8 - 2
9 - 10
10 - 9
11 - 7
12 - 11
If rating between 1-4 for Matches then
Write MeaningA
If rating between 5-8 for Matches then
Write MeaningB
If rating between 9-12 for Matches then
Write MeaningC
//Show a web page with the computers ratings and the reasons for them