PRACTICAL LAB FILE BASED
ON
PROGRAMING IN C
PRACTICAL WORK
Submitted by
AMIT SAHU
Under the guidance of
Dr. Guddi Singh
In partial fulfillment for the award of the degree
Of
POST GRADUATION DIPLOMA IN COMPUTER
APPLICATION (PGDCA)
KALINGA UNIVERSITY
Village Kotni, Near Mantralaya Atal Nagar Raipur
(C.G.).
Session July- February 2019
DECLARATION
This is to certify that this Practical lab work entitle
“Programing in c” which is submitted by me in partial
fulfillment of the requirement for the completion of Post
Graduation Diploma in Computer Application,
Kalinga University, Atal Nagar Raipur (C.G.),
comprises my original work and due acknowledgement
has been made in the text to all other material and
resources used.
Signature…………………………
Name of the student- AMIT SAHU
CERTIFICATE OF COMPLETION
This is to certify that AMIT SAHU student of POST GRADUATION
DIPLOMA IN COMPUTER APPLICATION (PGDCA) has completed the
Practical Lab titled “Post Graduation Diploma In Computer Applications”.
The practical report has been written according to the guidelines given by the
Programming in C, Kalinga University, and Atal Nagar Raipur (C.G.).
Signature of the Head of Institution Date:
Name of the Head of Institution Place:
CERTIFICATE OF EVALUATION
This is to certify that the undersigned have assessed and evaluated the
Practical Work titled “Programming in C “submitted by AMIT
SAHU The practical Report has been accepted for the partial
fulfillment of
“Post Graduation Diploma In Computer Applications “program.
Signature of the External Examiner Signature of the Internal Examiner
Name of the Examiner Name of the Examiner
INDEX
S. No. Question Page No Signature
01. Write of program input any two
number and find the multiply of both
number.
02. Write of program input any two
number and find the square value.
03. Write of program input any two
number and find the addition ,
subtraction, multification and division
using mathematical operator.
04. Write of program input any three
number and find the biggest number
using nested if statement.
05. Write of program input any number
and display this massage.
06. Write of program input any number
and display this massage using switch
case statement.
07. Write of program print the 1 to 10 series
but dos not print digit of 7 an using for
() loop , if () condition and break
statement .
08. Write of program input any number
and display multiplication table using
for loop .
09. Write of program this pyramid using
for loop *
10. Write of program to print this pyramid
1 using for loop .
11. Write of program input any number
and using display multiplication table
using while loop .
12. Write of program input any base value
any power value than display
calculated value and using power
function .
13. Write of program input any sentence
and find out length log this sentence
and using strlen function .
14. Write of program input any two string
and both string are compare and
display massage of both are equal
string and both are not equal string
using strcmp function.
15. Write of program input any two
number and find the addition of both
number using call by value (apply first
rule) not pass the value and not return
the value .
16. Write of program input any value and
find the square value and using call by
value (rule 2) pass the value and not
return the value.
17. Write of program input any length
and with and find the area of
rectangle using call by value (pass
the value and return the value).
18. Write of program input any number
and find the factorial value and using
recursion function.
19. Write of program input any two
value and display this value and
using union.
20. Write of program input student
information in “ text file “ “ student
dat ” and using write mode.