A=L X B
where
A=Area,
B=Breadth
and L=Length of rectangle
To display sum of 3 numbers
algorithm statement would be :
Display the sum of 10,20,30
In programming language same thing will be written as :
sum=10+20+30
Internally,the variable sum is stored in the computer's memory.
No comments:
Post a Comment