ITP (C Programming Lab)
LIST OF EXPERIMENTS
Write a program to produce ASCII equivalent of given number
Write a program to find divisor or factorial of a given number.
Write a program to evaluate the following algebraic expressions after
reading necessary values from the user
1. (ax+b)/(ax-b)
2. 2.5 log x-cos 30+|x^2-y^2|+sqrt (2xy)
3. (x^5+10x^4+8x^3+4x+2)
Write a program to find sum of a geometric series
Write a program to cipher a string
Write a program to check whether a given string follows English
capitalization rules
Write a program to find sum of the following series 1++1/3+_+1/20
Write a program to search whether a given substring exist in an input
string or not and then delete this string from input string.
Write a recursive program for tower of Hanoi problem
The fibonacci sequence of numbers is 1,1,2,3,5,8. Based on the
recurrence relation F(n)=F(n-1)+F(n-2)for n>2
Write a recursive program to print the first m Fibonacci number
Write a menu driven program for matrices to do the following operation
depending on whether the operation requires one or two matrices
a) Addition of two matrices
b)
Subtraction of two matrices
c) Finding upper and lower triangular matrices d) Trace of a matrix
e) Transpose of a matrix
f)
Check of matrix symmetry
g) Product of two matrices.
Write a program that takes two operands and one operator from the user
perform the operation and then print the answer
Write a program to print the following outputs:
11
2222
333333
44444444
5555555555
Write functions to add, subtract, multiply and divide two complex
numbers (x+iy) and (a+ib) Also write the main program.
Write a menu driven program for searching an sorting with following
options.
a) Searching (1) Linear searching (2) Binary searching
b) Sorting (1) Insersection sort (2) Selection sorting
Write a program to copy one file to other, use command line arguments.
Write a program to mask some bit of a number (using bit operations)
An array of record contains information of managers and workers of a
company. Print all the data of managers and workers in separate files.