Results 1 to 5 of 5

Thread: pseudo code

  1. #1
    jamiem is offline Member
    Join Date
    Dec 2010
    Posts
    5
    Rep Power
    0

    Default pseudo code

    i need help for writing pesudo code
    Last edited by jamiem; 12-20-2010 at 10:46 PM.

  2. #2
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Location
    Destiny Islands
    Posts
    692
    Rep Power
    5

    Default

    Which part do you need help with? Do you know what pseudocode is, and were you given a specific pseudocode format (as there are many)? Do you know what the code you currently have does?

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    Since you presumably wrote that code, I'm sure you can break it down into not-quite-code?
    Java Code:
    if (I have all the data I need) then
        do my processing
    else
        display an error

  4. #4
    jamiem is offline Member
    Join Date
    Dec 2010
    Posts
    5
    Rep Power
    0

    Default

    The production department of a local manufacturer would like to produce statistics, including histograms, for the productivity of its manufacturing staff in 2008 and 2009. The company is involved in the manufacture of utility vehicles for the construction industry. Staff work in shift teams comprised of 20 employees.

    You are required to design and write a program to read the amount of items produced by each shift team for the two years, generate a histogram for each year and the statistics. The details are given below:

    For each year calculate
    The average amount of items produced;
    The shift team in each year with the highest amount of items produced and the amount; and
    The shift team in each year with the lowest amount of items produced and the amount.

    Over the two years
    The average amount of goods produced for each shift team

    thats the senario i was given do you think the code i have written is ok? i just have to write pseudo code for this now

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    Surely you should have written the pseudo code first?

    Oh well...the main things are, does it do what has been asked of you and is it understandable?

    I can't answer either of those. The first, because I don't tend to review code here. The second because it's unformatted (you need to use code tags).

Similar Threads

  1. Providing pseudo Webcam
    By H@CK3R in forum New To Java
    Replies: 21
    Last Post: 09-28-2010, 06:08 AM
  2. Replies: 1
    Last Post: 03-04-2010, 11:19 AM
  3. generate pseudo random numbers in java
    By csr81 in forum Advanced Java
    Replies: 3
    Last Post: 03-01-2010, 07:08 AM
  4. Replies: 7
    Last Post: 04-07-2009, 06:04 AM
  5. Replies: 1
    Last Post: 04-26-2007, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •