Cpp Code for Distance from Center of Gravity To Triangle Base

This cpp programming code is used to find the distance from center of gravity to triangle base . You can select the whole cpp code by clicking the select option and can use it. When you click text, the code will be changed to text format. This cpp program code will be opened in a new pop up window once you click pop-up from the right corner. You can just copy, paste this cpp code and use it to find the distance from center of gravity to triangle base .

#include<iostream>
using namespace std;
#include<math.h>
int main()
{
        float a,h=9;
        a=h/3; 
        cout<<"Distance from Center of Gravity to Triangle Base = "<<a;
        return(0);
}
Other Programming Codes
Click on the select code link to copy and paste this free cpp program code for distance from center of gravity to triangle base calculator.

english Calculators and Converters


Sitemap