Example of flowcharting, Basic Computer Science

Example of flowcharting:

Example

Problem statement: To find out whether a given number is even or odd.

Algorithm:

Step 1 Start

Step 2 INPUT the number n 

Step 3 Find the remainder on dividing the given number by 2

           if (remainder = 0) then

     print "number is even"

           else

                print "number is odd"

Step 4 End

 

Representing this algorithm through flowchart helps in easier and better understanding of the algorithm :  

2332_Example of flowcharting.png

 

Posted Date: 10/23/2012 3:37:30 AM | Location : United States







Related Discussions:- Example of flowcharting, Assignment Help, Ask Question on Example of flowcharting, Get Answer, Expert's Help, Example of flowcharting Discussions

Write discussion on Example of flowcharting
Your posts are moderated
Related Questions
QUESTION (a) Can SSL be used to encrypt email data? Justify your answer (b) What are the three basic security provided by SSL? (c) State the port number used by applicati

write a c program for below question

Question 1 What are the advantages of Computer Interactive Graphics? Question 2 Which are the different types of camera views available in Maya? Question 3 Explain

i don''t understand how to create a program using double, int, float, short etc

Search strategy-artificial intelligence: Soundness: You  can hear  in  some  application domains  -  i.e.  automated  theorem proving - that a search is "sound and complet


The latest threading module comprised with Python 2.4 provides much more powerful, high-level hold for threads than the old thread module. The threading module depictions all the m

a cloth merchant A cloth showroom has announced the following seasonal discounts on purchase of items: Purchase amount Discount Mill items Handloom items 0-100 - 5% 101-200 5% 7.5%

Library function :   These are the functions supplied with the programming language. The code or definition of library functions does not have to be written in a user program w