|
3EE8 COMPUTER PROGRAMMING LAB-I |
|
1 Write a program to find the greatest between four numbers. |
|
2 Write a program to prepare mark sheet of students using structures. |
|
3 Write a C program to read several different names and addresses, re-arrange the names in |
|
alphabetical order and print name in alphabetical order using structures. |
|
4 Write a program to implement concatenation of two strings using pointers. |
|
5 Write a program to create a singly link list of ten students names and implement add node, delete |
|
node and isemptylist operations. |
|
6 Write a program to search a pattern in a given string. |
|
7 Write a Program to read add, subtract and multiply integer matrices. |
|
8 Write a program to calculate the power function (m |
|
) using the function overloading technique; |
|
n |
|
implement it for power of integer and double. |
|
9 Implement file creation and operate it in different modes: seek, tell, read, write and close |
|
operations. |
|
10 Using multiple inheritance, prepare students’ mark sheet. Three classes containing marks for |
|
every student in three subjects. The inherited class generate mark sheet. |
11 Write a program to print the following output using FOR loop
|
1 1 |
|
2 2 2 2 |
|
3 3 3 3 3 3 |
|
4 4 4 4 4 4 4 4 |
|
5 5 5 5 5 5 5 5 5 5 |