Angle subtended by an arc at the centre of a circle | C ++ implementation of the approach ; Function to find Angle subtended by an arc at the centre of a circle ; Driver code
#include <bits/stdc++.h> NEW_LINE using namespace std ; int angle ( int n ) { return 2 * n ; } int main ( ) { int n = 30 ; cout << angle ( n ) ; return 0 ; }