I have the code so i need you to check them and put them.
I have the code so i need you to check them and put them in one programpart A is in a file.part B is this :#include
#include
//header filesusing namespace std;//global vairables declareint var_x_1, var_x_2, var_x_3, var_y_1, var_y_2, var_y_3, centreX, centreY;double radius;//function declarationvoid get3points();void calucateCenterPoints();void calucateRadiusValue();void outputInfo();int main() //start main function{ get3points(); // function calling calucateCenterPoints(); calucateRadiusValue(); outputInfo(); return 0;} //end of main functionvoid get3points(){ coutvar_x_1>>var_y_1; coutvar_x_2>>var_y_2; coutvar_x_3>>var_y_3;}void calucateCenterPoints(){ //calculation for finding x co-ordinates of center centreX = -1 * ((( var_x_3*var_x_3 var_x_2*var_x_2 + var_y_3*var_y_3 var_y_2*var_y_2)/(2*(var_y_3-var_y_2)) ) -((var_x_2*var_x_2 var_x_1*var_x_1 + var_y_2*var_y_2 var_y_1*var_y_1)/(2 *(var_y_2-var_y_1)))) /((var_x_2-var_x_1)/(var_y_2-var_y_1))-((var_x_3-var_x_2)/(var_y_3-var_y_2)); //calculation for finding y co-ordiunates of center centreY = (-1 * centreX*((var_x_2-var_x_1)/(var_y_2-var_y_1))) +( (var_x_2*var_x_2 var_x_1*var_x_1 + var_y_2*var_y_2 -var_y_1*var_y_1)/ (2 * (var_y_2-var_y_1)) );}void calucateRadiusValue(){ //calculateion for radius of circle radius = sqrt( pow(centreX-var_x_1, 2)+ pow(centreY-var_y_1, 2));}void outputInfo(){ //print the info on the console cout
Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…
TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…
Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…
The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…
you need to post your 2-page information flier to share with your Final Project Group.…
discussion: Discuss the methods used at your company to measure and ensure quality products and…