Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Calculate the area of a circle.

Easy

Problem Statement

Calculate the area of a circle.

Sample Input

radius = 5

Sample Output

Area = 78.54

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
#include <stdio.h> int main() { float radius = 5; // Example input float area; // Logic to calculate area return 0; }
Log in or sign up to run or submit your code.Log inSign up
Input
radius = 5
Expected Output
Area = 78.54