Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 13th, 2008, 5:48 AM   #1
army88m2
Newbie
 
Join Date: Jul 2008
Posts: 3
Rep Power: 0 army88m2 is on a distinguished road
Need Some help

This is my first scripting class and I was wondering if someone could help me out. I need a flowchart for this code. Could someone e-mail me at army88m2@yahoo.com.






Start
print "Enter a Grade"
get Grade
StopValue = -1
While Grade > StopValue
if Grade >= 60 then
passCount = passCount + 1
endif
totalTestTakers = totalTestTakers + 1

print "Enter a Grade"
get Grade
end while

percentPassing = passCount / totalTestTakers
print percentPassing
Stop
army88m2 is offline   Reply With Quote
Old Jul 13th, 2008, 6:14 AM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: Need Some help

In other words, you want someone to do your homework and email it to you? How about we cut out the middleman, and you just give us your instructor's email address? Then you don't even have to read your email, and waste time cutting-and-pasting someone else's work as your own.

Lazy bastard.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jul 13th, 2008, 12:15 PM   #3
army88m2
Newbie
 
Join Date: Jul 2008
Posts: 3
Rep Power: 0 army88m2 is on a distinguished road
Re: Need Some help

Quote:
Originally Posted by lectricpharaoh View Post
In other words, you want someone to do your homework and email it to you? How about we cut out the middleman, and you just give us your instructor's email address? Then you don't even have to read your email, and waste time cutting-and-pasting someone else's work as your own.

Lazy bastard.
Jesus christ you don't have to be a prick about it. I was just asking for some help on this pseudocode. Like I said this is my first time doing this and I really don't understand it at all.
army88m2 is offline   Reply With Quote
Old Jul 13th, 2008, 2:24 PM   #4
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: Need Some help

Quote:
Originally Posted by army88m2
Jesus christ you don't have to be a prick about it. I was just asking for some help on this pseudocode. Like I said this is my first time doing this and I really don't understand it at all.
Actually, my name isn't Jesus. Anyways, we get a lot of people posting homework assignments here. Helping someone with an assignment is one thing, but doing it for them is another thing entirely.

Here's a piece of advice: next time you ask for help, instead of just posting the assignment verbatim, show what you've done so far. If you make an attempt, and show that you're not just being a leech, you stand a much better chance of getting help (keyword 'help').

Likewise with the 'email me' bit. The point of a forum like this is to have an open exchange of ideas, and responding in email precludes that. Imagine if you did make an honest effort, posted your work, asked for help, but still said 'respond in email'. That would basically deny everyone with a similar problem the opportunity to read the replies, if people actually responded via email, and that defeats the whole point of a forum. Then there's the fact that many people are loathe to email strangers, as then they risk getting even more spam, not to mention the fact it makes you look even more lazy, since you can't be bothered to even check the forum for a reply.

If you think I was too harsh, just be glad some of the old-timers don't come around here so much anymore. I'm tame by comparison.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jul 13th, 2008, 2:31 PM   #5
army88m2
Newbie
 
Join Date: Jul 2008
Posts: 3
Rep Power: 0 army88m2 is on a distinguished road
Re: Need Some help

Actually I did make an attempt to make a flowchart for that code I posted. I just need someone to tell me if it is correct. The other problem is that I can't post the diagram I have on this forum.
army88m2 is offline   Reply With Quote
Old Jul 13th, 2008, 4:44 PM   #6
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,034
Rep Power: 5 lectricpharaoh will become famous soon enough
Re: Need Some help

Sure you can. If you've got webspace included with your internet service, put it there, and post the link with the [IMG]http://someurl[/IMG] tag. If you don't have such webspace, you can use services like this one to host your images, and post the link as described above.

If all else fails, you can use the 'attach file' facility, and just attach the pic that way, or hell, just do a rough ASCII 'drawing' of it.

[edit] If you're saying that the file-attachment facilities don't allow for your file format, try saving as/exporting to an image. Programs like Visio, etc have this ability, and if you're doing a pen-and-paper version, just snap a digital pic or scan it in, like crawforddavid2006 suggests.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Jul 13th, 2008, 4:44 PM   #7
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 582
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
Re: Need Some help

scan the diagram, post it to something like photo bucket, and then post a link here for us to see. then we can see that you have made an effort, and we will also be able to help you.
__________________
Quote:
Originally Posted by DaWei View Post
Well, it's better than Pen Islands url....;)

crawforddavid2006 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:54 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC