Skip to content

Commit

Permalink
comit
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrixk1ng committed Sep 12, 2023
1 parent d0cf0f7 commit 659a4ee
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Binary file modified main
Binary file not shown.
21 changes: 19 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,27 @@

#include <iostream>
#include <cmath>
using namespace std;

const double PI = acos(-1);

int main()
{
cout << "bruh" << endl;
cout << "bruh momento";
double radius, area;

cout << "Please enter the radius of the circle in inches: ";
cin >> radius;

cout << "PI = " << PI << endl;

area = radius * radius * PI;

cout << "\nA circle with a radius of " << radius
<< " inches has an area of "
<< area << " square inches.\n";


return 0;
}


0 comments on commit 659a4ee

Please sign in to comment.