<div dir="ltr"><div><div>Dear CSI Class:<br><br></div>   if(a1.check(1) != -1) // check() returns -1 if number not present<br>      cout &lt;&lt; &quot;1 is not present in the array&quot; &lt;&lt; endl;<br><br>   if(a1.check(5) != -1)<br>      cout &lt;&lt; &quot;5 is not present in the array&quot; &lt;&lt; endl;<br><br></div><div>SHOULD BE<br></div><div><br>In Lab 11, the test.cpp code had a logic error.  This is now fixed.<br><br>   if(a1.check(1) != -1) // check() returns -1 if number not present<br>      cout &lt;&lt; &quot;1 is  present in the array&quot; &lt;&lt; endl;<br><br>   if(a1.check(5) != -1)<br>      cout &lt;&lt; &quot;5 is  present in the array&quot; &lt;&lt; endl;<br><br></div><div>Kind Regards,<br></div><div>Dianne<br></div><br></div>