List of Labs in Semester I
1. Write and execute a program in C/C++ to compute the factorial of a positive integer including Zero. (click here)
2. Write and execute a program in C/C++ to calculate sum of squares of n natural numbers. (click here)
3. Write and execute a program in C/C++ to find the area and the volume of a Sphere by varying the radius. (click here)
4. Write and execute a program in C/C++ to display Fibonacci series. (click here)
5. Write and execute a program in C/C++ to find the value of Sine function using power series (The argument will be given during execution). (click here)
6. Write and execute a program in C/C++ to find the value of Cosine function using power series (The argument will be given during execution) (click here)
7. Write and execute a program in C/C++ to find the value of ex (x will be given during execution of the program). (click here)
8. Write and execute a program in C/C++ to sort elements of an array of elements in ascending order (click here for ascending order) and descending order (click here for descending order).
9. Write and execute a program in C/C++ to separate odd and even integers in arrays. (click here)
10. Write and execute a program in C/C++ to find the largest and smallest in a given set of numbers. (click here)
11. Write and execute a program in C/C++ to calculate value of π. (click here)
For students : you can download and use Dev c++ compiler for executing these programs.