Back to all tasks

Rectangle Area Calculator

Your task is to complete a Pascal function CalculateRectangleArea that computes the area of a rectangle.

The function should accept two integer parameters: width and height. It must return an integer representing the area, which is the product of width and height.

Ensure that the function signature and variable types are correctly defined and that the calculation is accurate.

rectangle_area_calculator.txt
Loading...

Use the "Verify Solution" button to get AI feedback on your pascal code.