Published on January 26, 2024By DeveloperBreeze

// Radius of the circle
const radius = 5;

// Calculate the area of the circle using the formula A = π * r^2
const area = Math.PI * Math.pow(radius, 2);

// Display the calculated area
console.log('Area of the Circle:', area);

Comments

Please log in to leave a comment.