Site icon SnehaJobs.com

Problem Solving in C Lab

I Semester

Problem Solving in C Lab

Course Code : C1-P                                         

Course Title : PROBLEM SOLVING IN C LAB

Hours: 30

Credits: 1

  1. Write a program to check whether the given number is Armstrong or
  2. Write a program to find the sum of individual digits of a positive
  3. Write a program to generate the first n terms of the Fibonacci
  4. Write a program to find both the largest and smallest number in a list of integer values
  5. Write a program to demonstrate refection of parameters in swapping of two integer values using Call by Value & Call by Address
  6. Write a program that uses functions to add two
  7. Write a program to calculate factorial of given integer value using recursive functions
  8. Write a program for multiplication of two N X N
  9. Write a program to perform various string
  10. Write a program to search an element in a given list of
  11. Write a program to sort a given list of integers in ascending
  12. Write a program to calculate the salaries of all employees using Employee (ID, Name, Designation, Basic Pay, DA, HRA, Gross Salary, Deduction, Net Salary)
    1. DA is 30 % of Basic Pay
    2. HRA is 15% of Basic Pay
    3. Deduction is 10% of (Basic Pay + DA)
    4. Gross Salary = Basic Pay + DA+ HRA
    5. Net Salary = Gross Salary – Deduction
  13. Write a program to illustrate pointer
  14. Write a program to read the data character by character from a
  15. Write a program to createBook (ISBN,Title, Author, Price, Pages, Publisher)structure and store book details in a file and perform the following operations
    1. Add book details
    2. Search a book details for a given ISBN and display book details, if available
    3. Update a book details using ISBN
    4. Delete book details for a given ISBN and display list of remaining Books
Exit mobile version