GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Aug-2009, 20:51
edteach edteach is offline
New Member
 
Join Date: Aug 2009
Posts: 1
edteach is on a distinguished road

Help in understanding pseudo code.


I have been struggling in this class. I can understand some of the pseudo code but as it has been expanding I am not able to grasp the reading assignments. I have read and read them again and can only seem to get parts. Here is the last code I have been working on. I need to be able to understand what I am reading and how to see it run in my head. Any help would be appreciated. Or even direction to some other reading that could help me. Declare X[100]
Set Sum = 0
Set Count1 = 0
Write “Enter a number (or 0 to quit): ”
Input Num
While Num <> 0
Set Count1 = Count1 + 1
Set X[Count1] = Num
Set Sum = Sum + Num
Write “Enter another number or 0 to quit: ”
Input Num
End While
Set Average = Sum / Count1
Set Count2 = 0
For K = 1 Step 1 To Count1
If X[K] > Average Then
Set Count2 = Count2 + 1
End If
End For
  #2  
Old 12-Aug-2009, 10:16
Kimmo Kimmo is offline
Member
 
Join Date: Mar 2007
Location: Finland
Posts: 284
Kimmo is a jewel in the roughKimmo is a jewel in the roughKimmo is a jewel in the rough

Re: Help in understanding pseudo code.


My best advice is to learn a programming language. Understanding pseudo code will come naturally along with it. If you already know a language, then you might want to tell us what the problem is exactly.
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is my understanding of code generation in WinForm apps correct? BobLewiston .NET Forum 0 26-Feb-2009 17:11
How to sort random access file? wmmccoy0910 C Programming Language 12 04-Sep-2006 04:40
Here it is again! 35% - 40% off For Life! my-e-space Web Hosting Advertisements & Offers 0 20-Apr-2006 15:48
Guidelines for posting requests for help - UPDATED! WaltP C Programming Language 0 21-Apr-2005 03:44

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:41.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.