Pseudocode Exercise
1. Calculate the Area of a Circle
Write pseudocode that:
• Accepts the radius of a circle.
• Calculates the area using the formula: Area = π * radius^2 (use 3.14 for π).
• Displays the area.
2. Find the Largest of Two Numbers
Write pseudocode that:
• Accepts two numbers.
• Compares them.
• Displays the larger number.
3. Count from 1 to N
Write pseudocode that:
• Accepts a number N.
• Displays the numbers from 1 to N using a loop.