Linked List

Description:           This program is Menu driven program for Creating/deleting items in the Linked List.   Primary Inputs:    number to be stored in the Linked List and its location Primary Output:    Linked List Platform Used:      Turbo C++ version 3.0, Borland International Inc.   /*program to implement Linked List*/ #include #include #include struct node { int data; struct node ...

Evaluate Postfix Expression

Description:           This program evaluates a given postfix expression.   Primary Inputs:     A postfix expression Primary Output:    The evaluated result of the given postfix expression. Platform Used:      Turbo C++ version 3.0, Borland International Inc.   #include #include #include #include /*Maximum size of the postfix expression to take*/ #define maxsize 50 struct post { double stack[maxsize/2]; char exp[maxsize]; ...

Binary Search 1

Description:           This program implements the binary search algorithm.   Primary Inputs:    An array of 10 numbers (sorted in increasing order), and another number to be searched. Primary Output:    Gives the location of the number in the array(if found). Platform Used:      Turbo C++ version 3.0, Borland International Inc.   /* This program implements the Binary * Search Algorithm on ...

Binary Adder

Description:           This program performs the addition of two binary numbers.   Primary Inputs:    Two binary numbers Primary Output:    Summation of the two input binary numbers Platform Used:      Turbo C++ version 3.0, Borland International Inc.   /* This program adds two binary numbers */ #include #include #include #define null 0 struct node { struct node *next; /*Pointer to next ...