![]() |
|
#1
|
|||
|
|||
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
|
|||
|
|||
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 GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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