Completely Solved C, C++ Programs Assignment.




Solved C Program-Assignment

Filed Under: ,

Armstrong Number: Write a program to check whether a number is Armstrong number or not.
Fibonacci Series: Write a program to display n-th Fibonacci number.
LCM & GCD: Write a Program to calculate LEAST COMMON MULTIPLE and HIGHEST COMMON FACTOR of n numbers. n is taken as input from the user.
Pascal's Triangle: Write a Program that Prints the pascal's triangle recursively.
Prime Number Chacking: Write a program to check the number is prime or not.
Sorting: Write a Menu driven C program to sort a list of elements stored in an array; using bubble sort, insertion sort, selection sort, quick sort, merge sort and heap sort techniques.
Second Highest Number: Write a program to print the second highest no. from a 1D matrix.
Di-Stack Write a program to implement a Di-stack.
Add 2D Matrix Row-wise: Write a program to add all the elements of a 2D matrix row-wise, and display the elements of the row with the highest sum.
Sorting 2D Matrix: Write a program to sort all the elements in a column of a 2D matrix in ascending order. Operation on 2D Matrix: Write a program to add, subtract and multiply two 2D matrix.
String Problem Write a program to take a string and display the count of each character without repetition. String Problem 2 Write a program to accept a string and count the number of small case letters,capital case letters,vowels,blank spaces and special characters.
String Problem 3 Write a program to take a string (full name) and display the initials.
Infix to Postfix conversion: Write a C program to convert an Infix to a Postfix expression.
Binary Search Method: Write a C program to find a particular element from an array using binary search method. 
Binary Search Tree Operation: Write a C program to perform the following operations on a binary search tree :- (a)Inserting a given set of data recursively. (b)Implementing preorder, inorder and postorder traversals non-recursively. (c)Deleting any node with a specified data.
Breadth First Search & Depth First Search: Write a menu-driven C program to implement Breadth First Search and Depth First Search graph searching algorithms which will accept an input graph and will search any node given as input.
Linked List(Singly): Write a C program to perform the following operations on a singly linked list :- (i)Insertion.(ii)Deletion.(iii)Display.(iv)Sort.(v)Reverse(vi)Split
Priority Queue: Write a C program to implement Priority Queue using heap.
Dijkstra's Algorithm: Write a C program to implement Dijkstra's algorithm to find the shortest cost (also shortest path) between two specific vertices of a weighted graph.
Floyd's Algorithm: Write a C program to implement Floyd's algorithm which will produce shortest distance between all vertex pairs of a weighted graph.
Prim's Algoritm: Write a C program to implement Prim's algorithm which generates a minimal spanning tree of a weighted connected graph given as input.
Warshall's Algorithm: Write a C program to implement Warshall's algorithm to produce reachability matrix of a directed graph.
Lagrange's Interpolation Method: Write a program to implement LAGRANGE'S INTERPOLATION METHOD.
Bisection Method: Write a C program to implement Bisection method to solve an Algebraic or Transcendal equation. 
Copy Command:Write a C program to implement copy command using command line arguments.
Assignment 28 Write a program to display n-th Fibonacci number.
C program to count total number of lines, words and characters in a file. The following operations must be supported : (i) -l (count only number of lines), (ii) -w (count only number of words), (iii) -c(count only characters), which must be passed as command line arguments.
Gauss-Siedel Algorithm:Write a C program to implement Gauss-Seidel method to solve a system of equations.
Back to main directory: Software Practical | Sample C Program


Get Free Programming Tutorials and Solved assignments