help....my assignment..help me 2 write pseudocode

admin

Administrator
Staff member
actuallyim not very good in programming....i jz receive a code frm my clzmate..n my task is hv 2 convert it into pseudocode...any1 here can help me?pls...
</div>
<br /><br /><b><span class="edit">Attached File(s)</span></b><br /><a href="http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=Attach&type=post&id=2965" title="Download attachment" target="_blank"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/folder_mime_types/doc.gif" alt="Attached File" /></a>
 <a href="http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=Attach&type=post&id=2965" title="Download attachment" target="_blank">ECP1026_assignment.doc</a> ( 47.5k )
<span class="desc">Number of downloads: 139</span><br />

<!-- THE POST -->
</td>
</tr>


<tr>
<td class="formbuttonrow" nowrap="nowrap">
<div style='text-align:left'><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_offline.gif" border='0' alt='User is offline' /><a href="http://www.dreamincode.net/forums/javascript:popUp('http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=Profile&CODE=showcard&MID=10549','AddressCard','600','300','0','1','1','1')" title="Show Contact Card"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_card.gif" border='0' alt='Profile Card' /></a><a href="http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=Msg&CODE=04&MID=10549"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_pm.gif" border='0' alt='PM' /></a><!--<a href="http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=Mail&CODE=00&MID=10549"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_email.gif" border='0' alt='Email Poster' /></a>--></div>
</td>
<td class="formbuttonrow" nowrap="nowrap">
<!-- PM / EMAIL / WWW / MSGR -->
<div style="float: left;">
<br>
<a href="http://www.dreamincode.net/forums/javascript:scroll(0,0);"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_up.gif" border='0' alt='Go to the top of the page' /></a>
</div>
<!-- REPORT / UP -->
<div align="right">

<div align="right" style="padding: 5px;"><img src="http://www.dreamincode.net/home/images/thumbsup.gif" border="0">  <a href="http://www.dreamincode.net/?p=thanks&pid=153777" rel="nofollow"><b>This Post Was Helpful!</b></a> <sup><span style="color:red; font-size: 10px;">New!</span></sup></div>


<a href="http://www.dreamincode.net/forums/#" onclick="multiquote_add(153777); return false;" title="Toggle multiquote addition"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_mq_add.gif" name="mad_153777" alt="+" /></a><a href="http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=Post&CODE=02&f=62&t=15995&qpid=153777" title="Reply directly to this post"><img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/p_quote.gif" border='0' alt='Quote Post' /></a>
</div>

</td>
</tr>

</table>

<script type='text/javascript'>
//<![CDATA[
if ( ajax_loaded && use_enhanced_js )
{
menu_build_menu( 'edit-but-153777',
new Array( img_item + " <a title='Full edit screen with all options' href='http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&act=post&do=edit_post&f=62&t=15995&p=153777&st='>Full Edit</a>",
img_item + " <a href='http://www.dreamincode.net/forums/#' title='Edit this post in place with basic options' onclick='return ajax_prep_for_edit(153777, event);'>Quick Edit</a>" ) );
}
//]]>
</script>
<br/><div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-9822709549810875";
/* 468x60, created 5/9/08 */
google_ad_slot = "0893566886";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<br><!--Begin Msg Number 153802-->


<table class='ipbtable' cellspacing="1" style="border: 1px #CCCCCC solid;">
<tr>
<td valign="middle" class="row2" width="1%"><a name="entry153802"></a><span class="normalname"><a href='http://www.dreamincode.net/forums/index.php?s=ec1878b8a176ce5cc728eb322a001ba2&showuser=3382'>Israel</a></span></td>
<td class="row2" valign="top" width="99%">
<!-- POSTED DATE DIV -->
<div style="float: left;">
<span class="postdetails"> <img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/to_post_off.gif" alt='post' border='0' style='padding-bottom:2px' /> 28 Apr, 2006 - 08:51 AM</span>
</div>
<!-- REPORT / DELETE / EDIT / QUOTE DIV -->
<div align="right">
<span class="postdetails"> Post
<a title="Show the link to this post" href="http://www.dreamincode.net/forums/#" onclick="link_to_post(153802); return false;">#2</a></span>
</div>
</td>
</tr>
<tr>
<td valign="top" class="post1">
<span class="postdetails">
<br /><br />
D.I.C Addict<br /><br />
<a href="http://www.dreamincode.net/?p=about#badges" rel="nofollow"><img src="http://www.dreamincode.net/forums/author_group.gif" alt="Group Icon" /></a><br />
<!--Group: Authors<br />-->
Joined: 22 Nov, 2004<br />
Posts: 580
</span><br /> <img src="http://static.dreamincode.net/forums/style_images/dic2.1.6b/spacer.gif" alt="" width="100" height="1" />

</td>
<td width="100%" valign="top" class="post1" id='post-main-153802'>
<!-- THE POST 153802 -->
<div class="postcolor" id='post-153802'>


Ok, I got this definition of pseudocode from <a href="http://www.webopedia.com/TERM/p/pseudocode.html" target="_blank">webopedia</a> Apparenly your just being asked to explain the code/what it's doing, in normal english. Which will probably hard if you don't understand what your looking at. I'll give you a hint though, if you don't already know this, I believe the code your looking at is C++, could be C though... Here's a good place to start though:<br /><br /> <a href="http://www.cprogramming.com/tutorial.html" target="_blank">Cprogramming</a>
</div>
 
Top