Like Tree2Likes
  • 2 Post By GReaper

Flowchart help

This is a discussion on Flowchart help within the C Programming forums, part of the General Programming Boards category; Hey, I was wondering if anybody could help me with flowchart development. I have a program that asks the user ...

  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    27

    Flowchart help

    Hey, I was wondering if anybody could help me with flowchart development.

    I have a program that asks the user to enter 5 numbers but i'm unsure what shape in the flowchart that would come under?.

    START (oval)
    |
    |
    User Enters Numbers (shape)?

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,625
    If I remember correctly, it should be square.
    Devoted my life to programming...

  3. #3
    Registered User
    Join Date
    Jan 2012
    Posts
    27
    Ok thanks, what about when the user has to enter what calculation to do?. There are 4 choices so is that a diamond with 4 arrows leading to other places?.

  4. #4
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,625
    You know what, I was wrong, here's what you're looking for.
    Salem and stahta01 like this.
    Devoted my life to programming...

  5. #5
    Registered User
    Join Date
    Jan 2012
    Posts
    27
    Is there a program that turns pseudocode in to a flowchart?.

  6. #6
    Registered User
    Join Date
    Jan 2012
    Posts
    27
    I can't seem to manage to transform all my code in to a flowchart, I think it's due to a lack of understanding of what shape means what. Can anybody help with this problem?.

  7. #7
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    Well in the usual case, you start with a flowchart as a means to create the program in the first place.

    Producing a flowchart of something you've hacked together is a less useful thing to do.

    But....
    Each brace-enclosed block of code is a square
    Each conditional (for, while, if) is a diamond with suitable arrows leading to/from it.

    That should get you close enough.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  8. #8
    Registered User
    Join Date
    Jan 2012
    Posts
    27
    Just something my assignment requires is all.

  9. #9

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. program of c++ and flowchart ?2
    By mooon27 in forum C++ Programming
    Replies: 4
    Last Post: 05-11-2011, 05:24 AM
  2. Need help with flowchart
    By moey187 in forum C++ Programming
    Replies: 2
    Last Post: 04-14-2011, 04:25 AM
  3. flowchart. Help!!!
    By chema124 in forum C Programming
    Replies: 3
    Last Post: 12-10-2002, 09:00 AM
  4. Flowchart
    By ob1cnobe in forum C++ Programming
    Replies: 4
    Last Post: 06-05-2002, 12:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21