Mechassi 2
Mechassi 2
Semester/Year: Sem-I/FYBtech.
1. PROGRAM:-
#include <iostream>
#include <cmath>
int main() {
x_coordinate = (4*radius)/3*PI;
y_coordinate = (4*radius)/3*PI;
std::cout << "The centroid of the quarter circle is at (" << x_coordinate << ", " << y_coordinate << ")"
<< std::endl;
std::cout << "The area of the quarter circle is " << area << std::endl;
return 0;
OUTPUT:-