Sunday, 25 September 2016

Index of PART B

INDEX 

PART - B

  1. Write a C Program to input 'n' numbers and sort them in ascending order using bubble sort.
  2. Write a C Program to find the largest and smallest in a one dimensional array and also find the position of both numbers.
  3. Write a C Program to search a number in a list using linear search and also find its position in the array.
  4. Write a C Program to find the sum of elements in each row, column and the principal diagonal of the matrix.
  5. Write a C Program to find the transpose of a matrix and check if it is symmetric or not.
  6. Write a C Program to find   n c r   and   n p r   using recursive functions.
  7. Write a C Program to count the number of words, vowels, digits and spaces in a given string.
  8. Write a C Program to find if the given string is a palindrome or not using a user-defined function to reverse it. 

Index of PART A

INDEX 

PART - A

  1. Write a C Program to reverse a number and find the sum of the individual digits. Also check if the number entered is a palindrome or not.
  2. Write a C Program to generate the Fibonacci Series of  'n' numbers.
  3. Write a C Program to find the greatest of 3 numbers using nested if statements.
  4. Write a C Program to find GCD and LCM of two numbers.
  5. Write a C Program to find the tax rate for the gross salary of an employee based on the given condition:

    if
    gross is < 2000 ; NO TAX
    gross is >2000 and <= 4000 ; 3% TAX
    gross is >4000 and <= 5000 ; 5% TAX
    gross is > 8000                      ; 8% TAX

    Using SWITCH statements.
  6. Write a C Program to generate 'n' Prime Numbers.
  7. Write a C Program to convert DECIMAL to BINARY.
  8. Write a C Program to find the sum of the sine series:

    sin(x)=(x-(((x^3)/3!) + ((x^5)/5!) - ((x^7)/7!) .......... of upto 'n' terms.
The links will be updated as soon as the code is uploaded online.