2019 S3E EE233  Programming Lab
Experiments

1
Accept the side length of a square, print its area and perimeter
2
Accept the side lengths of a rectangle, print its area and perimeter
3
Accept the radius of circle, print its area and circumference.
4
Calculate the length of a line segment when its end coordinate values are given.
5
Determine whether an integer is even or odd.
6
Find the largest of 2 numbers
7
Marks out of 100 is received. Check it is pass or fail. Pass minimum is 50.
8
Determine whether an integer is single digit or not.
9
Solve a quadratic equation for real roots.
10
Find the largest of 3 numbers
11
Find the smallest of n numbers
12
Find the gcd of n integers
13
Sum of n numbers
14
Print pyramid of *s
15
Given n integers between 10 and 50, print the horizontal histogram of them
16
Given n integers between 10 and 50, print the vertical histogram of them
17
Print a + pattern using +
18
Print the pattern X using x
19
Check whether an integer is prime or not.
20
Generate Fibonacci series
21
Store n numbers in an array and find its sum.
22
Search an element in an array
23
Sort n elements and insert an element in the array with sort order intact.
24
Insert an element at kth position in an array
25
Create a linked list of integers.
26
Search an element in a linked list
27
Delete an element from a linked list
28
Delete an element at position k from a linked list
29
Sum the elements of a linked list
30
Represent a polynomial using linked list
31
Write a function to find the largest of two numbers. Using this function find the largest of n numbers.
32
Write a function to find the largest of two numbers stored in a linked list. Using this function find the largest of all elements of the list.
33
Print the multiplication table of a given number.
34
Print the multiplication table of all integers up to the given number.
35
Generate Fibonacci series using recursive function
36
Find the factorial of a positive integer using recursive function
37
Compare two strings
38
Copy one string to another variable
39
Store and print a string after reversing it
40
Perform matrix addition
41
Perform matrix multiplication
42
Find the inverse of a matrix
43
Calculate the determinant of a matrix