suimawi78861 suimawi78861
  • 18-01-2024
  • Engineering
contestada

An algorithm should output "OK" if a list's numbers are all non-zero, else the output is "Not OK." Which test is a valid test of the algorithm?
1) A Input 0, 0, 0. Ensure output is "OK."
2) B Input 5, 4, 0. Ensure output is "OK."
3) C Input -3, -2, 5. Ensure output is "Not OK."
4) D Input 99, 0, 5. Ensure output is "Not OK."

Respuesta :

Otras preguntas

what is the decomposition of 43.586 to the nearest tenth
The ability of an organism to maintain internal stability is known as?
In 2010, __________ experienced a major __________, a disaster that struck outside the city of Port-Au-Prince. a. Haiti... earthquake b. Peru... flood c. Bra
Use mental math to find the sum show your strategy 122+306
what historical event took place in 1738 A.D.
Emily collected $950 selling Girl Scout cookies all day Saturday. Emily's troop collected 10 times as much as she did. How much money did Emily's troop raise
5/4+x=3/4 how do I figure this out
Four less than 5 times a number is equal to 6 more than 3 times a number. What is the number?
Solve. 4(a+2) = 8 +4a A. all real number B. no solution C. -2 D. -1 PLEASE HELP!!!!
If you were a US civilian living during World War II, which government action would have influenced your everyday life most?