Thursday, November 19, 2015






























This is the picture I've got from creek, and edited a little bit :)

Wednesday, November 18, 2015

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//Made by Hyensoo Choi(John)
/*if you enter coordinate of two point in linear function, it will
give you back it's slope!*/
#include<stdio.h>
float main()
{
    while(1)
    {
        float x_increase, y_increase;
        float x_1=0, x_2=0, y_1=0, y_2=0;
        float a;
        
        printf("Enter the coordinate of first point ex)1 3\n>>>");
        scanf("%f%f", &x_1, &y_1);
        printf("Enter the coordinate of second point\n>>>");
        scanf("%f%f", &x_2, &y_2);
        
        x_increase=x_1-x_2;
        y_increase=y_1-y_2;
        a=y_increase/x_increase;
        
        printf("%f", a);
        system("pause");
        printf("\n\n");
    }
    
    return 0.0;
}
cs
This is the program which prints slope of linear function!
I think it works only for integer, but I like it!
Yay!!