SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
DELHI-NCR CAMPUS, MODINAGAR, U.P
[Link]. Ist Year & Ist Semester
LAB MANUAL
Programming for Problem Solving
21CSS101J
Submitted By: Submitted To
Name : Bhavya Bhardwaj Abhishek Sharma
Reg. No. : RA2511003030030
Section : CSE Core A
INDEX
Bhavya Bhardwaj
[Link] Objective Date of Date of Signature
Experiment Submission
Write a program to print “Hello
1. World”.
Write a program to find area of
2. circle, square and rectangle.
Write a program to find simple
3. interest (SI=(P*R*T)/100).
Write a program to convert Celsius
4. to Fahrenheit and vice vera.
(C/5=(F-32)/9).
Write a program to swap two
5. numbers:
[Link] third variable.
[Link] third variable.
Program to demonstrate different
6. types of operators.
Find the largest of two numbers
7.
Check if a number is even or odd
8.
Check if a number is positive,
9. negative, or zero
Print numbers from 1 to N using a
10. loop
Calculate factorial of a number
11. (using loop)
Print multiplication table of a
12. number
To create calculator (using switch
13. case).
Program to print the following
14. patterns
15. Check if a character is vowel or
consonant
Reverse a number (e.g. input: 123
16. → output: 321)
Count number of digits in a
17. number
Sum of digits of a number
18.
Palindrome check (number)
19.
Armstrong number check
20.
Fibonacci series (loop method)
21.
Find the Maximum and Minimum
22. Element in an Array
Sum and Average of Array
23. Elements
Bhavya Bhardwaj
Search an Element in the Array
24.
Reverse the Array
25.
Insert an Element at a Specific
26. Position
Add two 2D array
27.
Multiply two 2D Array
28.
Transpose of a Matrix
29.
Perform operations like
30. incrementing/decrementing a
pointer to traverse an array.
Access Array Elements Using
31. Pointers
Find Maximum Element in Array
32. Using Pointer
Reverse an Array Using Pointers
33.
Sum of Array Elements
34. Using Pointer
Copy One Array to Another Using
35. Pointers
String programs using gets(),
36. puts(), getchar(), putchar().
C Programs Using In-built String
37. Functions
Program to add two numbers using
38. function.
Program to find factorial of a
39. number using functions.
Program of function with call by
40. value and call by reference swap
two numbers.
Write a program to print your
41. names for 7 times using repeat
operator.(python)
Bhavya Bhardwaj