I Semester
Problem Solving in C Lab
Course Code : C1-P
Course Title : PROBLEM SOLVING IN C LAB
Hours: 30
Credits: 1
- Write a program to check whether the given number is Armstrong or
- Write a program to find the sum of individual digits of a positive
- Write a program to generate the first n terms of the Fibonacci
- Write a program to find both the largest and smallest number in a list of integer values
- Write a program to demonstrate refection of parameters in swapping of two integer values using Call by Value & Call by Address
- Write a program that uses functions to add two
- Write a program to calculate factorial of given integer value using recursive functions
- Write a program for multiplication of two N X N
- Write a program to perform various string
- Write a program to search an element in a given list of
- Write a program to sort a given list of integers in ascending
- Write a program to calculate the salaries of all employees using Employee (ID, Name, Designation, Basic Pay, DA, HRA, Gross Salary, Deduction, Net Salary)
- DA is 30 % of Basic Pay
- HRA is 15% of Basic Pay
- Deduction is 10% of (Basic Pay + DA)
- Gross Salary = Basic Pay + DA+ HRA
- Net Salary = Gross Salary – Deduction
- Write a program to illustrate pointer
- Write a program to read the data character by character from a
- Write a program to createBook (ISBN,Title, Author, Price, Pages, Publisher)structure and store book details in a file and perform the following operations
- Add book details
- Search a book details for a given ISBN and display book details, if available
- Update a book details using ISBN
- Delete book details for a given ISBN and display list of remaining Books