C Code for Midpoint in 3d

This c programming code is used to find the midpoint in 3d. You can select the whole c code by clicking the select option and can use it. When you click text, the code will be changed to text format. This c 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 c code and use it to find the midpoint in 3d.

#include<stdio.h>
void main()
{
  int x1,y1,z1,x2,y2,z2;
  float m1,m2,m3;
  x1=5;y1=3;z1=6; x2=4;y2=5;z2=6;
  m1=(x1+x2)/2.0;
  m2=(y1+y2)/2.0;
  m3=(z1+z2)/2.0;
  printf("Midpoint: %.2f %3.2f %3.2f",m1,m2,m3);
}
Other Programming Codes
Online Calculator : Midpoint in 3d
Click on the select code link to copy and paste this free c program code for midpoint in 3d.

english Calculators and Converters


Sitemap