Create a JavaScript function that meets the following requirements:
•
•
•
Please giv...
Computers and Technology, 01.04.2021 05:10 cedavenport1277
Create a JavaScript function that meets the following requirements:
•
•
•
Please give your function a descriptive name
o ( _two is not acceptable, and is only displayed here for illustration purposes)
Receives an array of numbers as a parameter, with each integer being a mark out of 100.
The function should return an array consisting of all the averages less than 50, followed by the average
of all the mark more than 50.
o both averages should be rounded to the nearest whole number.
o If there are no failing marks (< 50), then the average fail mark should be set to -1
o If there are no passing marks (< 50), then the average pass mark should be set to -1
Examples:
_two([63, 65, 33]))
➔ [33, 64]
_two([63, 62, 100, 100])) ➔ [-1, 81]
_two([33, 42, 20, 10]))
➔ [26, -1]
Answers: 1
Computers and Technology, 21.06.2019 20:00
2.)how does a graphical user interface (gui) on a touchscreen interface differ from a gui on a desktop or laptop? a.)a finger or stylus is used instead of a pointer. b.) a magic wand is used instead of a pointer. c.)users speak commands instead of using a pointer. d.)users visualize commands instead of using a pointer.
Answers: 1
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
Mathematics, 18.11.2019 05:31
English, 18.11.2019 05:31
Mathematics, 18.11.2019 05:31
Biology, 18.11.2019 05:31
History, 18.11.2019 05:31
Mathematics, 18.11.2019 05:31
History, 18.11.2019 05:31
Chemistry, 18.11.2019 05:31
Mathematics, 18.11.2019 05:31
History, 18.11.2019 05:31