944,047 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 628
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 14th, 2009
-2

Help write a pseudocode for this please!

Expand Post »
Write the pseudocode for a modular computer program which will read a file of pumpkin weights, one number(in pounds) for each record. the program will print the weight of each pumpkin, count the number of pumpkins, determine the largest pumpkin of all pumpkin records processed, and compute the average weight in the 2010-EOJ module. assume the pumpkins weights are read into the program from an input file. use and automatic end-of-file processing. Be sure to include the following five modules: 1000-pumpkin,2000-hsk, 2010-process,2020-eoj, and 3000-read.

thanks
Similar Threads
Reputation Points: 9
Solved Threads: 0
Newbie Poster
mohamed07 is offline Offline
5 posts
since Oct 2009
Oct 14th, 2009
0
Re: Help write a pseudocode for this please!
Do it yourself, we aren't a free homework service.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008
Oct 14th, 2009
1
Re: Help write a pseudocode for this please!
I hate it when they write the assignment word for word and don't even try to venture a guess.
Reputation Points: 100
Solved Threads: 48
Posting Pro in Training
Grn Xtrm is offline Offline
495 posts
since Nov 2008
Oct 14th, 2009
1
Re: Help write a pseudocode for this please!
Quote ...
I hate it when they write the assignment word for word and don't even try to venture a guess.
Yup, he should just keep watching this until he gets the message.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008
Oct 14th, 2009
0
Re: Help write a pseudocode for this please!
oh well i guess no help on here then.
instead of outright just gettin on someone i think yall shouldnt be as harsh.... u coulda at least tell me where to start first i didnt say write the whole thing for me.
Reputation Points: 9
Solved Threads: 0
Newbie Poster
mohamed07 is offline Offline
5 posts
since Oct 2009
Oct 14th, 2009
1
Re: Help write a pseudocode for this please!
Quote ...
oh well i guess no help on here then.
instead of outright just gettin on someone i think yall shouldnt be as harsh.... u coulda at least tell me where to start first i didnt say write the whole thing for me.
What did you expect? You copy your question here word for word and expect a solution?
The first thing you do on any new forum is read the rules, you didn't show any effort.

We're here to help you with more specific problems, so show us what you have so far, and exactly what you're stuck with.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008
Oct 14th, 2009
1
Re: Help write a pseudocode for this please!
alright yeah i get it. was kinda a rude thing to do....sorry if i pissed anyone off. but with the first module when it says 1000-pumpkin below it has the 2000-hsk, but after that would it be a do while, or do until for the end-flag?
Reputation Points: 9
Solved Threads: 0
Newbie Poster
mohamed07 is offline Offline
5 posts
since Oct 2009
Oct 14th, 2009
0
Re: Help write a pseudocode for this please!
Maybe I am misunderstanding the question, but if your gonna count 1000 pumpkins then use a for loop that goes from 1 to 1000, and read in the wieghts of the pumpkins.
Reputation Points: 100
Solved Threads: 48
Posting Pro in Training
Grn Xtrm is offline Offline
495 posts
since Nov 2008
Oct 14th, 2009
0
Re: Help write a pseudocode for this please!
the 1000 is just the pumpkin module but doesn't actually give me a number of pumpkins just that i have to read a file of pumpkin weights in pounds and keep doing it till how many i have, which is the largest and find the average of em.
Reputation Points: 9
Solved Threads: 0
Newbie Poster
mohamed07 is offline Offline
5 posts
since Oct 2009
Oct 14th, 2009
0
Re: Help write a pseudocode for this please!
A great way to help us quickly understand what you mean.. post what you would expect your output to be once you've finished, and work backwards from there, it just seems slightly vague at the moment.
Last edited by William Hemsworth; Oct 14th, 2009 at 8:43 pm.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: dynamic_cast help
Next Thread in C++ Forum Timeline: Bitmap Convertor & Manipulation C++





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC