Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo

Pseudocode Tutorial: The Basics

pseudocode

  • Please log in to reply
38 replies to this topic

#37 lespauled

lespauled

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1360 posts
  • Programming Language:C, C++, C#, JavaScript, PL/SQL, Delphi/Object Pascal, Visual Basic .NET, Pascal, Transact-SQL, Bash

Posted 10 March 2015 - 12:09 PM

Based on your description, you don't need a global.  In fact, there aren't many cases where you should ever use a global.


  • 0
My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth

#38 wayner2797

wayner2797

    CC Newcomer

  • Member
  • PipPip
  • 11 posts

Posted 13 March 2015 - 11:46 AM

So how would I go about writing it then? I want to learn.


  • 0

#39 silentM

silentM

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 26 August 2015 - 02:21 AM

Please help me out with this question
Question: Create an OOP solution using Pseudo code that handles the following elements.

1.            Two classes, namely Animal, and goat which are related in a parent – child relationship.

2.            You should show the implementation of each of the following:

                a.            Inheritance

                b.            At least two Relationships (A_Kind_of, is_A)

                c.             Creation of methods, two such methods are Get and Set methods

                d.            Creation of Objects
 

What I have written so far is this

Public Class Animal():
Private Class Goat
make animalname as the text in textbox1
Get animalname in textbox1
if animalname is Goat then
display A goat is a hardy domestic ruminant animal that has horns, kept for its milk and meat.
End if

  • 0





Also tagged with one or more of these keywords: pseudocode

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download