Find Area and Perimeter of a Square (Simple Pseudocode Example)
1 2 3 4 5 6 7 8 9 10 |
BEGIN NUMBER len, area,perimeter INPUT len area = len*len perimeter = len*4 OUTPUT area OUTPUT perimeter END |
Find Area and Perimeter of a Square (Simple Pseudocode Example)
1 2 3 4 5 6 7 8 9 10 |
BEGIN NUMBER len, area,perimeter INPUT len area = len*len perimeter = len*4 OUTPUT area OUTPUT perimeter END |