473,473 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

drawing a flowchart

6 New Member
how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
Nov 8 '08 #1
7 2099
JosAH
11,448 Recognized Expert MVP
how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
I don't draw flowcharts; they're so 1960s. At best I scribble a Nassi-Schneidermann
diagram but normally I don't bother: a verbal (written) description does fine. All
those stupid graphical languages are silly (*)

kind regards,

Jos

(*) and that includes all of UML.
Nov 8 '08 #2
weaknessforcats
9,208 Recognized Expert Moderator Expert
At best I scribble a Nassi-Schneidermann
diagram but normally I don't bother: a verbal (written) description does fine. All
those stupid graphical languages are silly (*)
That might work for small programs but not ones of any consequence.
Nov 8 '08 #3
JosAH
11,448 Recognized Expert MVP
That might work for small programs but not ones of any consequence.
All true, but the same is true for flowcharts, Nassi-Schneider (*) diagrams and
all that UML crap; it was made by those Yourdon types who don't do any serious
programming themselves but make money out of lecturing that hulla-baloo.
The programming community is forced to listen to that fake, forced by their
management who don't do any programming themselves either.

A young friend of mine, a very intelligent man and a remarkable programmer
once showed me a note from one of his managers that stated that people
should use colours in the UML diagrams from now on. That young man happens
to be colour blind.

I prefer clear, concise verbal (written) descriptions with the name of the author
stamped on it.

kind regards,

(*) The name happens to be 'Schneider', not 'Schneidermann'; I looked it up after
I had posted my previous reply.
Nov 8 '08 #4
weaknessforcats
9,208 Recognized Expert Moderator Expert
I prefer clear, concise verbal (written) descriptions with the name of the author
stamped on it.
I wish I knew your customers as there are none on this side of the pond. We, with miniscule exceptions are sitting at SEI/CMM Level 1 : Anarchy. That is, start coding while I find out what the customer wants.
Nov 8 '08 #5
JosAH
11,448 Recognized Expert MVP
I wish I knew your customers as there are none on this side of the pond. We, with miniscule exceptions are sitting at SEI/CMM Level 1 : Anarchy. That is, start coding while I find out what the customer wants.
It's sad isn't it; it's like that on this side of the puddle too most of the time. I am
the proud owner of my own one man's army^H^H^H^H company: DADID Systems.
The first five letters mean: Define, Analyze, Design, Implement and Deliver and
that is exactly what I do and explain that to my customers (for free!). I want a
signature after each (waterfall) phase; if not I quit the project.

Most of the time they can't even come up with the first D. Me being the cooperative
little baby that I am, I help them with it. I love to see them struggle to even define
what they want. The A and the second D are mostly my job but I keep in touch
and that's (most of the time) the part where they get enthousiastic. I don't do any
prototypes or anything but the customer knows by then what they can expect.

I don't like the fourth I part but that's my job. The last D part is easy: I wrap
things up for the customer and deploy everything. Of course I'm responsible for
code bugs but that doesn't bother me much.

That little 'formula' has saved me more than often from the (almost?) empty cycle
of stepwise refinement and what have you. Flowcharts are far out.

kind regards,

Jos
Nov 8 '08 #6
donbock
2,426 Recognized Expert Top Contributor
how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
How many paths are needed to support this desired behavior?
Nov 8 '08 #7
monte cristo gunnison
2 New Member
Difficult to do without the proper symbols but simply put
Expand|Select|Wrap|Line Numbers
  1.                                                   START
  2.  
  3.  
  4.                                           ENTER NUMS 1, 2
  5.  
  6.                                                 1, 2
  7.  
  8.  
  9.                                                   IF
  10.                              --------NO ------- NUMS=1------YES----
  11.  
  12.  
  13.                            "NO"                                    "YES"
  14.  
  15.  
  16.  
  17.                                                     STOP
  18.  
THE START WOULD BE IN AN OVAL, THE ENTER NUMS IN A PROCEDURE BOX, THE 1,2 IN A DATA BOX, THE IF IN A DECISION BOX WITH YES AND NO COMING OFF THE SIDES AND DROPING DOWN TO THE PROCEDURE BOXES FOR "NO" AND "YES" THEN DROPING AND CONNECTING TO THE STOP OVAL.

PROCEDURE BOXES ARE RECTANGLES, DATA BOXES ARE RHOMBOIDS, DECISION BOXES LARGE SQUARES PUT ON POINT AND OVALS ARE OVALS. ALL CONNECTED BY SINGLE LINES DRAWN BETWEEN THE VARIOUS BOXES LIKE THE LINES DRAWN FOR THE NO AND YES COMING OFF THE DECISION BOX.
Nov 10 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kelvin | last post by:
hi: im looking for a tool that can help me to draw a flowchart... is there such tool? thank you very much... -- { Kelvin@!!! }
0
by: mida | last post by:
i want to create flowchart/flowdiagram like msword.And the user type inside the rectangular what they want to do...plz help me ...i need the source code ----------------------------- This message...
1
by: JackieR | last post by:
I have taken over a project and would like to flowchart the entire solution. I have found flowchart programs that work on a single .cpp file, but nothing for the entire project. Does anyone know...
3
by: pat | last post by:
Hello, I drawed a little FlowChart (with some Rectangles and Lines) in the OnPaint event of a Form. How can I save this Chart for example as a jpg-file or bmp-file? patrick
3
by: VJ | last post by:
Hello Group, I am working on a project to derive a flow chart from a c program. Can any one please help me on what tools/methods i need to use. thanks
0
by: - | last post by:
Is there a flowchart symbol for 'try' and 'catch'? I am reading a value from the command line by calling a method that throws a NumberFormatException. Should I draw the flowchart similar to...
3
by: Paulers | last post by:
hello everyone, can anyone recommend a free flowchart framework for vb.net? I was drooling over Flowchart.net until I saw the $500.00 price tag. I realize that a lot of work went into...
19
by: William Gill | last post by:
I seem to be having a mentally bad period lately . My code is beginning to be terrible convoluted mess, and I shudder to think what it will be like to go back in a couple months and try to follow...
19
by: sameer | last post by:
1-develop a flowchart and then write a c program to display all prime number less than the number entered by the user.
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.