Algorithm & Pseudo code  [  Example 2  ]
Write an algorithm and draw a flowchart that will read the two sides of a rectangle and calculate its area.
Pseudo code
Input the width (W) and Length (L) of a rectangle
Calculate the area (A) by multiplying L with W
Print A



Algorithm
Step 1:  Input W,L
Step 2:  A ← L  x  W
Step 3:  Print A









Computer Language

A computer language is a set of rules and conventions used to convey the information to a computer.

3 Types of Computer Languages

1. Machine Language

2. Low Level Language 

3. High Level Language


No comments:

Post a Comment