How would this look in a problem solution in java script? Im just use to doing problem statements where you have: Assumption, input, Output, and calculations. But there is no Assumption here nor any calculations. So im clueless on how this is suppose to look as far as coding it.
you need to write a program for a wedding planner. They wish to create a gift registry for each couple. They want the gifts broken down by the whether the gift giver is on the bride side or groom side. They also know that specific gifts (toasters, silverware, and stemware) tend to be repeated so they want those gifts listed and have the name of the gift giver under them. The repeating gifts are only the ones that have been told you by the client (toasters, silverware, and stemware) they do not want you to determine which gifts repeat, they are just looking for those specific three.
Test Data, use this only to test your flowchart and your javascript (your program needs to accept any guest name and any gift). ?The following output was created using the following input: ?
Tom, Groom side, Toaster
Bill, Groom side, silverware
Bob, Groom side, stemware
Steve, Groom side, Lexus
Jill, Bride side, toaster
Suzy, Bride side, silverware
Pat, Bride side, stemware
Karen, Bride side, horse
Groom side:
1. Tom: toaster
2. Bill: silverware
3. Bob: stemware
4. Steve: Lexus
Bride side:
1. Jill: toaster
2. Suzy: silverware
3. Pat: stemware
4. Karen: horse
Multiple toasters by:
Tom
Jill
Multiple silverware by:
Bill
Suzy
Multiple stemware by:
Bob
Pat
How would this look in a problem solution in java script? Im just use to doing problem statements where you have: Assumption, input, Output, and calculations. But there is no Assumption here nor any calculations. So im clueless on how this is suppose to look as far as coding it.
you need to write a program for a wedding planner. They wish to create a gift registry for each couple. They want the gifts broken down by the whether the gift giver is on the bride side or groom side. They also know that specific gifts (toasters, silverware, and stemware) tend to be repeated so they want those gifts listed and have the name of the gift giver under them. The repeating gifts are only the ones that have been told you by the client (toasters, silverware, and stemware) they do not want you to determine which gifts repeat, they are just looking for those specific three.
Test Data, use this only to test your flowchart and your javascript (your program needs to accept any guest name and any gift). ?The following output was created using the following input: ?
Tom, Groom side, Toaster
Bill, Groom side, silverware
Bob, Groom side, stemware
Steve, Groom side, Lexus
Jill, Bride side, toaster
Suzy, Bride side, silverware
Pat, Bride side, stemware
Karen, Bride side, horse
Groom side:
1. Tom: toaster
2. Bill: silverware
3. Bob: stemware
4. Steve: Lexus
Bride side:
1. Jill: toaster
2. Suzy: silverware
3. Pat: stemware
4. Karen: horse
Multiple toasters by:
Tom
Jill
Multiple silverware by:
Bill
Suzy
Multiple stemware by:
Bob
Pat