Write a program that stores a rectangle's width and height in variables, then calculates and prints the area. Use int for whole number dimensions. Declare two variables like int width = 5, height = 3;.
Calculate area with int area = width * height;. Print the result with cout. Test with different values. What happens if width is 1000 and height is 1000? The area is 1,000,000, which fits in int.
But if both are 100,000, you need long long.