## Tags » C Program

#### C PROGRAM FOR DDA ALGORITHM

**Why DDA algorithm ?**

DDA Algorithm is used to plot line between two nodes i.e two end points in computer system.

While our computer understand pixels, if we want to plot a line, we should have maximum intermediate vertices of the line i.e intermediate points, so as to generate a straight line. 221 more words

#### Matrix Formation - C Program

**A Matrix (plural Matrices) is a rectangular array of numbers, symbols, or expressions, arranged in rows and columns.**

**For example, the dimensions of the matrix below are 2 × 3 (read “two by three”), because there are two rows and three columns.** 498 more words

#### A point on the two dimensional plane can be represented by two numbers: an X coordinate and a Y coordinate. The distance of the point from the origin can be calculated using Pythagorean Theorem. Write a program that uses a class called point to model a point. Allow user to perform following task on point: a. Set X coordinate

AIM:- A point on the two dimensional plane can be represented by two numbers: an X coordinate and a Y coordinate. The distance of the point from the origin can be calculated using Pythagorean Theorem. 199 more words

#### Write a program to model employee class with appropriate data members and member functions, and allow user to initialize data, calculate salary, and display basic detail of employee and display pay sleep.

AIM:-Write a program to model employee class with appropriate data members and member functions, and allow user to initialize data, calculate salary, and display basic detail of employee and display pay sleep. 284 more words