Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

Create a function high-tides that consumes a list of tide structures tidelist and a number threshold and produces the list of day-time structures for each tide in tidelist with height greater than threshold. The order of day-time structures in the list produced should follow the order in the list consumed. Create a function high-tides that consumes a list of tide structures tidelist and a number threshold and produces the list of day-time structures for each tide in tidelist with height greater than threshold. The order of day-time structures in the list produced should follow the order in the list consumed. @Computer Science

OpenStudy (anonymous):

I'm assuming the input list of tide structures contains the desired day-time structure. Create an empty output list. Iterate over the input list. Apply the test (tide height > threshold). For the ones that pass, add the day-time from that tide to the output list. When you're done iterating, return the output list.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!