C Language Assignment
C Language Assignment
(Q1)
INDIA
INDIA
INDIA
INDIA
(Q2)
(Q3)
(Q4)
WAP to input three numbers and print the product of those numbers.
(Q5)
(Q6)
(Q7)
WAP to enter two numbers and find their sum, difference and quotient and
(Q8)
DA = 15% of salary.
PF = 10% of salary.
OUTPUT:-
Salary =
HRA =
DA =
PF =
Net Salary =
hand =
(Q9)
(Q10)
WAP to enter five subjects marks and calculate average and print them as
follows:-
OUTPUT:-
REPORT
**********
(1) Maths =
(2) English =
(3) Hindi =
(4) Computer =
(5) G.K. =
Average =
**********
(Q11)
(Q12)
WAP to enter principal, rate, and time in years and find the simple interest.
(Q13)
(Q14)
(Q15)
(Q16)
(Q17)
WAP to print the entered name three times on the screen on separate lines
(Q19)
WAP to swap the values of two variables without using third variable.
(Q20)
IF..ELSE :-
(Q21)
(Q22)
(Q23)
(Q24)
(Q25)
(Q26)
(Q27)
(Q28)
LOOPING:
for, while).