Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 28th, 2011, 04:46 PM
ThinLizzy76 ThinLizzy76 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 ThinLizzy76 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 7 m 47 sec
Reputation Power: 0
Lightbulb Really need some help with flowchart

Hello everyone, Im new to this forum, I've recently started a computer science course and i need some help, my lecturers notes just aren't helping me on this assignment.
I need to draw a flowchart for the following program. By no means do i wish someone to do the program for me but i would like someone to teach me how to do it for myself, i would greatly appreciate it. Heres the program description anyways:


Ok so need help drawing a flow chart for the following program.

Its for a Voting Machine!!

the system will list the names of seven candidates of an election. It should allow a voter to select up to a maximum of THREE candidates (1, 2, and 3) in order of preference where entering 1 is their 1st preference, 2 is their 2nd preference and 3 is their 3rd preference. No other entries should be made.

A voter does not necessarily have to select three candidates. In this situation, they may choose only one or two candidates. Your system should be designed to accommodate this scenario.

The system should be designed to allow vote transfers. When the candidate with the least number of votes has been excluded, all of their 2nd and/or 3rd preference votes should be transferred to the other respective candidate(s). This process should continue until there is an outright winner of the election.

The system should check for any incorrect entries such as duplicated numbers, numbers outside the range 1-3, and any other non-numeric characters. In this situation, the vote is deemed spoiled and these should be counted.

Reply With Quote
  #2  
Old October 28th, 2011, 05:00 PM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,717 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 7 h 29 m 55 sec
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to requinix
A flowchart is "just" a graphical form of a step-by-step process, though it sounds like you need to be as precise and detailed as possible.

Step one is going to be "list the candidates". That's pretty much set in stone. Step two has to be "prompt for votes", but that entails sub-steps like "check that the number is valid" and "check that the number hasn't been used yet".
Give a shot at coming up with all the steps in the right order - you might have some "go to step X" steps in there, that's okay. Once those steps are right, converting them into a flowchart is fairly straightforward.

Reply With Quote
  #3  
Old October 28th, 2011, 05:03 PM
ThinLizzy76 ThinLizzy76 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2011
Posts: 3 ThinLizzy76 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 7 m 47 sec
Reputation Power: 0
thanks for taking the time to reply man much appreciated ! I have a start now at least! Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Really need some help with flowchart

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap