Results 1 to 4 of 4

Thread: How do i write pseudocode

  1. #1
    Join Date
    Dec 2008
    Posts
    119

    idea How do i write pseudocode

    Hello Friends,

    I had been given an assignment to do, for which i need your help in order to complete my assignment on time. I need to write a pseudocode for the list of employees and their salaries in order to determine the mean (average) salary as well as the number of salaries above and below the mean. Can any body tell me that how can i do it? Does any body know about this issue? Kindly provide me the correct solution for doing it. Would be grateful to you if any body helps me out.

    Thanks in advance.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: How do i write pseudocode

    Pseudocode is nothing but the code , in any particular language, that you write for your application so to write it you must to do the following:-

    1) First select the language.

    2) Then write flowchart so that you can get the brief idea of the steps in order to encountered it.

    3) Then try to make make small modules.

    4) And lastly arrange them to have total pseudocode.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: How do i write pseudocode

    First you may want to make a list of the main tasks that must be accomplished on a piece of scratch paper. Then, focus on each of those tasks. Generally, you should try to break each main task down into very small tasks that can each be explained with a short phrase. There may eventually be a one-to-one correlation between the lines of pseudocode and the lines of the code that you write after you have finished pseudocoding.

    Example:

    Original Program Specification:

    Write a program that obtains two integer numbers from the user. It will print out the sum of those numbers.

    Pseudocode:

    Prompt the user to enter the first integer
    Obtain user's first integer input
    Prompt the user to enter a second integer
    Obtain user's second integer input

    add first integer and second integer
    store the result in another variable

    Display an output prompt that explains the answer as the sum
    Display the result

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How do i write pseudocode

    You can easily do that task with the help of Microsoft Excel. As Excel has many function which can be helpful to you in order to find out the average and other stuffs. It will do your work very fast as you need to know little bit about Excel.

Similar Threads

  1. Media is write protected error cannot write to disk
    By Bracken in forum Operating Systems
    Replies: 14
    Last Post: 22-08-2011, 08:58 AM
  2. How to write web crawler
    By Ceadda in forum Technology & Internet
    Replies: 5
    Last Post: 14-05-2011, 03:51 AM
  3. Cannot write to drive "Media is write protected"
    By Charlton in forum Vista Hardware Devices
    Replies: 4
    Last Post: 11-05-2011, 10:54 PM
  4. Write-through and Write-back cache
    By Klaty in forum Motherboard Processor & RAM
    Replies: 5
    Last Post: 29-01-2010, 01:52 PM
  5. Replies: 0
    Last Post: 16-09-2007, 09:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,175,537.03581 seconds with 16 queries