<div dir="ltr">Hello AOS Class:<div><br></div><div>Several people have asked about question 1 on homework 1.</div><div><br></div><div><div>As an example, consider the following C++ statements as a program counter algorithm:</div><div><br></div><div>cout &lt;&lt; &quot;My first name is Alberto.\n&quot;;  //pretend this is statement 1</div><div>cout &lt;&lt; &quot;My last name is Einsteinary.\n&quot;;  //pretend this is statement 2</div><div>cout &lt;&lt; &quot;My street address is 123 Main&quot;; //pretend this is statement 3</div><div>cout &lt;&lt; &quot;My city is Kent&quot;;  //pretend this is statement 4</div><div>...</div><div><br></div><div>You need to rewrite this in guarded command notation using statement1, statement2, .... </div><div><br></div><div>You want the first statement and no other statement to be able to be executed first.  When the first statement is finished, you want the second statement and no other statement to be executed next.  When the second statement is done, you want the third statement and no other statement to be executed next...</div><div><br></div><div>You will need to write actions to adhere to this computation.</div><div><br></div><div>Best,</div><div>Dianne</div><div><div class="gmail_signature"><div dir="ltr"><font face="Calibri,sans-serif" size="2" style="color:rgb(0,111,201)"><span style="font-size:16px"><br></span></font></div></div></div>
</div></div>