Professional Documents
Culture Documents
Fac - Id Fac - Name Remarks: Sort Sort
Fac - Id Fac - Name Remarks: Sort Sort
1 ARTS
2 NATURAL SCIENCE
3 SOCIAL SCIENCE
4 EDUCATION
5 ISLAMIC STUDIES
6 PHARMACY
7 COMMERCE AND BUSINESS
ADMINISTRATION
BEGIN
FOR i := 0 TO n-2 DO
k := i; x := a[i];
public Form1()
{
InitializeComponent();
}
}
}
//
dx = x2 - x1;
dy = y2 - y1;
x_inc = dx/steps;
y_inc = dy/steps;
x=x1;
y=y1;
putxy(round(x), round(y));
for( i = 1 to steps) {
x = x + x_inc;
y = y + y_inc;
putxy(round(x), round(y));
}
}//End DDALine Algorithm Function