Escolar Documentos
Profissional Documentos
Cultura Documentos
: 1
FUNDAMENTAL
CONDITION
LOOP
PYRAMID
ARRAY
1. Find out the highest and lowest marks between 15 marks of an array.
2. Find out the +ve and –ve nos. in an array of size 25.
3. Find the no. of odd and even no. in an array.
4. Find the frequency of an inputted no. in an array.
5. Program to find the maximum and second maximum no. in an array.
6. Addition of two matrix.
7. Subtraction of two matrix.
8. Multiplication of two matrix.
9. Find the transpose of a given matrix.
10. Sorting of an array in ascending order(using bubble sort method).
11. Convert decimal no. to its equivalent binary no.
12. Convert binary no. to its equivalent decimal no.
13. Program to calculate the mean and standard deviation.
SWITCH CASE
FUNCTION
STRING HANDLING
1. Input a string from the user and then print it (using gets() and puts()).
1. Make a student structure(name,roll,3 subjects and total) , insert data into it and then print it.
2. Employee structure(code,name,date of birth,basic). Now display the pay slips.
DA=15% of basic, HRA 5% of basic(if basic greater than 10000,PF(deduction) 2% of basic.
Calculate the net pay.
3. Same student structure but at the time of print sort the structure array and print in descending order of
the total field.
4. Structure-> player and team name, batting average. After data input user give a particular team name and it
will display all records of the player of that team.
FILE
POINTER
1. Sum of any number given by the user through command line argument.
2. Reading and displaying file by using command line argument.