Help write a pseudocode for this please!

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2009
Posts: 5
Reputation: mohamed07 is an unknown quantity at this point 
Solved Threads: 0
mohamed07 mohamed07 is offline Offline
Newbie Poster

Help write a pseudocode for this please!

 
-2
  #1
Oct 14th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,482
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso
 
0
  #2
Oct 14th, 2009
Do it yourself, we aren't a free homework service.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 466
Reputation: Grn Xtrm will become famous soon enough Grn Xtrm will become famous soon enough 
Solved Threads: 39
Grn Xtrm's Avatar
Grn Xtrm Grn Xtrm is offline Offline
Posting Pro in Training
 
1
  #3
Oct 14th, 2009
I hate it when they write the assignment word for word and don't even try to venture a guess.
Check out my new band URL on facebook. I'm the bass player. :) Become a fan and leave comments if you like.
URL on facebook!
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,482
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso
 
1
  #4
Oct 14th, 2009
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.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 5
Reputation: mohamed07 is an unknown quantity at this point 
Solved Threads: 0
mohamed07 mohamed07 is offline Offline
Newbie Poster
 
0
  #5
Oct 14th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,482
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso
 
1
  #6
Oct 14th, 2009
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.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 5
Reputation: mohamed07 is an unknown quantity at this point 
Solved Threads: 0
mohamed07 mohamed07 is offline Offline
Newbie Poster
 
1
  #7
Oct 14th, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 466
Reputation: Grn Xtrm will become famous soon enough Grn Xtrm will become famous soon enough 
Solved Threads: 39
Grn Xtrm's Avatar
Grn Xtrm Grn Xtrm is offline Offline
Posting Pro in Training
 
0
  #8
Oct 14th, 2009
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.
Check out my new band URL on facebook. I'm the bass player. :) Become a fan and leave comments if you like.
URL on facebook!
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 5
Reputation: mohamed07 is an unknown quantity at this point 
Solved Threads: 0
mohamed07 mohamed07 is offline Offline
Newbie Poster
 
0
  #9
Oct 14th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,482
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso
 
0
  #10
Oct 14th, 2009
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.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC