Computer Programming Lab Manual Pdf – CP Lab manual pdf

5
(12)

Computer Programming Lab Manual Pdf – CP Lab manual pdf file

Please download the Computer Programming Lab Manual Pdf – CP Lab manual pdf file in the below provided links.
                                                                                   Download Link
Lab manual experiment names

1.1 OBJECTIVE:

1. To find the sum of individual digits of a given number N.
2. Generate the Fibonacci series up to N.
3. To Generate the Prime numbers up to N .

2.1 OBJECTIVE:

1. To calculate the Sum=1-x2/2! +x4/4!-x6/6! +x8/8!-x10/10!
2. To find the roots of a quadratic equation.

3.1 OBJECTIVE:

1. The total distance traveled by vehicle in ‘t’ seconds is given by distance=ut+1/2at2 where ‘u’ and ‘a’ are
the initial velocity (m/sec) and acceleration (m/sec2). Write a C program to find the distance traveled at
regular intervals of time given values of ‘u’ and ‘a’. The program should provide the flexibility to the user
to select his own time intervals and repeat the calculations for different values of ‘u’ and ‘a’.
2. Using switch-case statement, write a C program that takes two operands and one operator from the user,
performs the operation and then prints the answer. (consider operators +, -, *, and %).

4.1 OBJECTIVE:

Program to check
1. the factorial of a given number N
2. the GCD of two numbers

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 12

No votes so far! Be the first to rate this post.

Leave a Reply

Your email address will not be published. Required fields are marked *