Delhi Technological University Lab Programs for Programming Fundamentals (First Year) for the course CO101/CO102 submitted by Vishal Das
- Write a C program to print "Hello world" on screen
- Write a C program to take input integer from user and add one to that integer and print result
- Write a C program to add, subtract, multiplication and division on two integers and print the result and use explicit type casting for division operation
- Write a C program to calculate simple interest and print on the screen
- Write a C program to perform Logical AND and OR operations on two and three variables
- Write a C program to perform bitwise AND and OR operations on two variables
- Write a C program to perform relational operations on two variables
- Write a C program to compute factorial of a number
- Write a C program to compute sum of a 5-digit number
- Write a C program to reverse a 5-digit number
- Write a C program to find whether the input number is prime or not
- Write a program to find area of different shapes using switch case
- Write a program to implement following pattern :
- Half Pyramid of *
- Half Pyramid of numbers
- Inverted half pyramid of *
- Inverted half pyramid of numbers
- Full Pyramid of *
- Write a program to convert decimal to binary and vice versa
- Program to generate the Fibonacci sequence
- Program to search a number from an array using linear search
- Program to search a number from an array using binary search
- Program to sort an array using Bubble sort
- Program to sort an array using Insertion sort
- Program to sort an array using Selection sort
- Program to check if a given string is a palindrome or not
- Program to string concatenation
- Program to string comparison
- Program to string reverse
- Program to convert a string from lower case to upper case and vice versa
- Program to find factorial of a number using recursion
- Write a C program for the addition of two 3 x 3 matrices
- Write a C program to multiply two 3 x 3 matrices
- Write a C program to store the employee details using structure
- Write a C program to swap two numbers using pointers
- Write a C program to pass and return pointer to function hence calculate average of an array.
- Write a C program to create a file called emp.txt and store information about a person, in terms of his name, age and salary
- Write a C program to read a file and after converting all lower case to upper case letters write it to another file