C Code for Slope Intercept Form

This c programming code is used to find the slope intercept form. 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 slope intercept form.

#include<stdio.h>

main()
{ 
      float x1, x2, y1, y2, c;
      double m;
      x1=-1; x2=3; y1=0; y2=8; c=0;
      m=(y2-y1)/(x2-x1);
      c=y2-(m*x2);
      printf("slope (y)=%.0fx+%.0f",m,c);
}
Other Programming Codes
Online Calculator : Slope Intercept Form
Click on the select code link to copy and paste this free c program code for slope intercept form.

english Calculators and Converters

Ask a Question


Sitemap