Dictionary using File Processing - C Program

Submitted by davidwachira on
A dictionary written in C that retrieves words from a text file. This is a practical exercise in file processing using text files. If a word that has been searched is not found in the dictionary, it is added at the end. The words in the dictionary are not in alphabetical order. Rather, they are randomly arranged. This is version 2 of a previous Dictionary. Enjoy #include /* C Standard Input and

PASCALSTRIANGLE

Submitted by ashine80 on
This will print the Pascals Triangle up to 'n' lines. I created the Matrix of nXn Matrix. Then initilized all the element to zero. Then Calculated the Combination of i,j using the formula: C(n,r)=n!/(r!*(n-r)!) Before that I calculated the Factorial of a number by using a recursive Function.

Online Supply Inventory System

Submitted by sourcecode07 on
Online Supply Inventory system deals primarily with determining the size and placement of the materials within a facility or within multiple locations of a supply chain network. It is also concerned with the importance of forecasting the required inventory, availability of physical space, and cost in carrying those inventories to maintain the planned course of production against the random

Collinear Points

Submitted by ashine80 on
This program will print whether the three points of Cartesian Coordinate System (x,y) is collinear or not. I formed a 3x3 matrix and then calculated the determinant. If determinant is zero these three points are collinear otherwise not.

Searching for a word in a Dictionary - C Program

Submitted by davidwachira on
A program that searches for a word in a dictionary. - Create a small dictionary of strings - Not in order - Create an interface for user to search for a word in the dictionary If the word is not found, the word is added to the dictionary. The dictionary has 1000 words (English/Swahili) #include /* C Standard Input and Output Library*/ #define array_size 1000 /* Constant size of the array to be