Page 1 of 1

Write a full C++ program that uses a boolean function (check()) that takes/receives an array of integer numbers and a ke

Posted: Thu Jul 14, 2022 2:19 pm
by answerhappygod
Write a full C++ program that uses a boolean function(check())that takes/receives an array of integernumbers and a key/value and returns trueif the key/value is found in the array and false otherwise.
Please implement the function and make sure to make the functionreceives all the information required for conducting the taskdescribed above.
Note:
1- No algorithm or pseudocode is required just a c++code.
2- Use comments to explain the code.3- prompt the user to respond to something or enterinformation.