Programming Skills Assignment - 2
INDEX
Sr.No. Description Page Sign
No.
1. Write a program to input 3x3 matrix and perform transpose
of a matrix.
2. Write a program to input 3x3 matrix and calculate the sum
of diagonal elements.
3. Write a program to perform matrix multiplication of 3x3
matrix.
4. Write a program to input five strings from user and print
them in ascending order.
5. Write a program to input a string from user and print total
no of characters, words, and spaces in a given string.
6. Create a structure called Employee and write a program to
input EmpID, EmpName, Department, and basic salary from
user for 5 Employees and calculate NetSalary from given
criteria:
BASIC SALARY > 10000 and < 20000 then 80% DA, 50% HRA,
10% PF.
BASIC SALARY > 20000 and < 40000 then 70% DA, 40% HRA,
10% PF.
ELSE calculate 60% DA, 30% HRA and 10% PF.
7. Create a structure called Student and write a program to
input RollNo, Name, Marks of Maths, CPPM and DPA from
user for 5 students and calculate Total and Percentage of
them. Display student details according to Percentage in
ascending order.
8. Write a program to print Fibonacci series using UDF.
9. Write a program to find given number is prime number or
not using UDF.
10. Write a program to input five strings from user and also
input string to search from user and find the given string is
available or not.