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

Programming Exercises

Create a program to find the area of a circle.

Easy

Problem Statement

Create a program to find the area of a circle.

Sample Input

radius = 5

Sample Output

Area = 78.5

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
#include <iostream> #define PI 3.14 int main() { float radius = 5; // 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.5