You are on page 1of 12

PRACTICLE FILE

SUBJECT – PRINCIPLE OF C LANGUAGE

ENROLLMENT NO. - 21100BTAIMLM09344


NAME – ATHARV SHRIVASTAVA
SEC – ‘F’
SEM – 1ST
YEAR – 1ST
PRACTICLE FILE

Experiments 1
Aim: Write a C program to display “ This is my first C Program”.

Program:
PRACTICLE FILE
Experiment 2
Aim: Write a C program to calculate area and circumference of a circle.
Program:
PRACTICLE FILE
Experiment 3
Aim: Write a C program to perform addition , subtraction, division and multiplication
of two numbers.

Program:
PRACTICLE FILE

Experiment 4
Aim: Write a program to calculate simple and compound interest.
Program:
PRACTICLE FILE

Experiment 5
Aim: Write a program to swap values of two variables with and without using third
variable.

Program:
PRACTICLE FILE
Experiment 6
Aim: Write a program to display the size of every data type using “ sizeol ” operator.
Program:
PRACTICLE FILE
Experiment 7
Aim: Write a program to illustrate the use of unary prefix and postfic increment and
decrement operators.

Program :
PRACTICLE FILE
Experiment 8
Aim : Write a program to input two numbers and display the maximum numbers

Program:
PRACTICLE FILE
Experiment 9
Aim: Write a program to find the largest of three numbers using ternary operators
PRACTICLE FILE
Experiment 10
Aim: Write a program to find the roots of quadratic equation
PRACTICLE FILE
Experiment 11
Aim: write a program to check whether a number is prime or not

You might also like