c lab sem
c lab sem
3. Write a C program to find whether the given the given year is leap year or Not.
1. Write a C program to find whether the given the given year is leap year or Not.
2. Write a C program to design a calculator to perform the operations, namely, addition, subtraction,
multiplication, division and square of a number.
1. Write a C program to print the table of given numbers using for loop.
I. Write a C program to find sum of weights for a given set of numbers like <10,36,54,89,12,27>
1. 5 if it is a perfect cube.
3. 3 if it is a prime number.
II. Write a C program to populate an array with height of persons and find how many persons are above
the average height.
1. Write a C program for reversing a string without changing the position of special characters. (Example
input:a@gh%;j and output:j@hg%;a).
2. Write a C program for find Sum of all Array Elements by passing array as an argument using User
Define Functions.
1. Write a program to illustrate a function with arguments and with return values.
1. Write a C program to generate employee salary slip using structure & pointer.
1. Write a C program to compute internal marks of students for five different subjects using
structures and functions.
1. Write a C program to count the number of account holders whose balance is less than the minimum
balance using sequential access file.