Thursday 16 August 2012

Logic Building - Examples

Let's Discuss some Examples.

1. Display the value of a variable :
Pseudocode in English :
  • Declare a variable.
  • Take the input.
  • Display the variable.
Flowchart : 
  • Declare three numeric variable.
  • Take the inputs from user.
  • Perform the sum.
  • Display the result.
Flowchat :


See here check is intentionally skipped.
  • Here int is data type in C , it stands for Integers. ( It will be discussed later in greater detail ) 


No comments:

Post a Comment