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)?
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)?
If I remember correctly, it should be square.
Devoted my life to programming...
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?.
You know what, I was wrong, here's what you're looking for.
Devoted my life to programming...
Is there a program that turns pseudocode in to a flowchart?.
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?.
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.
Just something my assignment requires is all.