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.
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(){ cout<< First co-ordinates :- < >var_x_1>>var_y_1; cout<< Second co-ordinates :- < >var_x_2>>var_y_2; cout<< Third co-ordinates :- < >var_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<< Centre is < I have the code so i need you to check them and put them
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.