1 Program
1 Program
1. Start
2. Input the Radius of the circle.
3. Set π=3.14159
4. Calculate the Area using the formula:
Area = π×(radius)2
1. Start
2. Input the Length of the rectangle.
3. Input the Width of the rectangle.
4. Calculate the Area using the formula:
Area=Length×Width.
1. Start
2. Input the Side length of the square.
3. Calculate the Area using the formula:
Area=Side×Side
1. Start
2. Input the Base of the triangle.
3. Input the Height of the triangle.
4. Calculate the area using the formula:
Area=0.5×Base×Height
1. Start
2. Input the student’s exam score.
3. Set the passing score (e.g., 40).
4. Check if the student’s score is greater than or equal to the passing score.
o If yes, the student has passed.
6. Stop