0% found this document useful (0 votes)
7 views

c Lab Internal Programs

The document contains a list of C programming tasks, each consisting of two parts. The tasks cover a range of topics including arithmetic operations, file handling, data structures, mathematical calculations, and algorithms. Each task is designed to enhance programming skills through practical implementation.

Uploaded by

kudipudipavan140
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

c Lab Internal Programs

The document contains a list of C programming tasks, each consisting of two parts. The tasks cover a range of topics including arithmetic operations, file handling, data structures, mathematical calculations, and algorithms. Each task is designed to enhance programming skills through practical implementation.

Uploaded by

kudipudipavan140
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1. (a) write a c program for finding sum and averageof three numbers.

(b) write a c program to write and read a text into a file.

2.(a) write a c program for conversion of Fahrenheit to Celsius.

(b) write a c program to generate Fibonacci series using a recursive


function.

3.(a) write a c program for simple interst calculation.

(b) write a c program to find the total and average of n students using
structures.

4.(a) write a c program for finding the square

(b) write a c program to simulate a calculator using switch case.

5.(a)write a c program for finding the compound interest.

(b) write a c program to multiplication of two matrices.

6.(a) write a c program for area of a triangle using heron’s formula.

(b) write a c program to find the minimum and maximum of a 1-D


integer array.

7.(a)write a c program for finding distance travelled by an object.

(b).write a c program to reverse of a 1-D integer array.

8.(a) write a c program for find the maximum of three numbers using
conditional operator.

(b) write a c program to checking a number is palindrome or not.


9.(a) write a c program for take marks of 5 subjects in integers and find
the total,average in float.

(b) write a c program to find addition of two matrices.

10.(a) write a c program to find the maximum and minimum of four


numbers using if-else.

(b)write a c program to concatenate two string with out built-in


functions.

11.(a)write a c program to find the factorial of given number using any


loop.

(b)write a c program to find the given year is a leap year or not.

12.(a) write a c program for finding the compound interst.

(b) write a c program to construct a pyramid of numbers.

13.(a) write a c program to find the given number is prime or not .

(b) write a c program for finding the roots of the quadratic equation.

14.(a) write a cprogram to swap two numbers using call by reference.

(b) write a c program to find the total and average of n stundents using
structures.

15.(a)write a c program to find the maximum and minimum of four


numbers using if-else.

(b) write a c program to generate Fibonacci series using a recursive


function.

You might also like