Skip to content

Commit 360a851

Browse files
authored
Lab Program List
Meerut Institute of Technology, Professional Courses, Meerut (1110) Department of Computer Application ( BCA) Session: 2021-22 Computer Laboratory & Practical Work of C Programming(BCA_107) Submitted To: Mr Manoj Kumar Submitted By: Raj Kishor Designation: Assistant Professor Class: BCA-I-sem
1 parent f1236ba commit 360a851

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

README.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Lab-Program-List-BCA-I-Sem
2+
------------------------------------------------
3+
4+
1. Write a c program to print “Hello World”.
5+
2. Write a c program to add two numbers.
6+
3. Write a c program to multiply two float numbers.
7+
4. Write a c program to perform arithmetic operation ( +, -, *, / ) on two integer number.
8+
5. The distance between two cities (in km.) is input through the keyboard.
9+
Write a c program to convert and print this distance in meters, feet, inches and centimetres.
10+
6. Write a c program to calculate the area and circumference of the circle.
11+
7. Write a c program to interchange the value of two variables using third variable.
12+
8. Write a c program to interchange the value of two variables without using third variable.
13+
9. Write a c program to calculate simple interest.
14+
10. Write a c program to check whether input number is positive or negative.
15+
11. Write a c program to check whether input number is even or odd.
16+
12. Any year is input through the keyboard.
17+
Write a c program to determine whether the year is a leap year or not.
18+
13. Write a c program to find maximum of two numbers.
19+
14. Write a c program to find maximum of three numbers using nested if-else.
20+
15. Any character is entered through the keyboard,
21+
write a program to determine whether the character entered is a capital letter,
22+
a small case letter, a digit or a special symbol.
23+
16. Write a c program to print table of any number.
24+
17. Write a c program to find the factorial value of any number entered through the keyboard.
25+
18. Two numbers are entered through the keyboard.
26+
Write a c program to find the value of one number raised to the power of another.
27+
19. If a number is input through the keyboard, write a c program to calculate the sum of its digits.
28+
20. If a number is input through the keyboard, write a c program to reverse the number.
29+
21. Write a c program to calculate sum of first n numbers.
30+
22. Write a c program to calculate sum of given n numbers.
31+
23. Write a c program to determine whether a number is prime or not.
32+
A prime number is one, which is divisible only by 1 or itself.
33+
24. Write a c program to print out all Armstrong numbers between 1 and 500.
34+
If sum of cubes of each digit of the number is equal to the number itself,
35+
then the number is called an Armstrong number.
36+
25. Write a c program to determine whether a number is palindrome or not.
37+
26. Write a c program to find the binary equivalent of the entered number.
38+
27. Write a c program to add first seven terms of the following series:
39+
1/ 1!+2/2!+3/3!+ .............
40+
28. Write a c program to calculate the value of sine series.
41+
29. Write a c program to calculate the value of cosine series.
42+
30. Write a c program to find nCr factor of given number.
43+
31. Write a c program to print all factors of a number.
44+
32. Write a c program to print Fibonacci sequence. In a Fibonacci sequence the sum
45+
of two successive terms gives the third term. Following are the first few terms of
46+
the Fibonacci sequence:
47+
0 1 1 2 3 5 8 13 21 34 55 89.....
48+
33. Write a c program to print following pattern:
49+
*
50+
**
51+
***
52+
****
53+
*****
54+
34. Write a c program to print following pattern:
55+
1
56+
2 3
57+
4 5 6
58+
7 8 9 10
59+
35. Write a c program to print Pascal triangle.
60+
36. Write a menu driven program which has following options:
61+
1. Factorial of a number.
62+
2. Prime or not
63+
3. Odd or even
64+
4. Exit
65+
37. Write a c program to find GCD of two numbers.
66+
38. Write a c program to calculate area of circle using call by value.
67+
39. Write a c program for swapping two numbers using call by reference.
68+
40. Write a c program to calculate the factorial of a number using recursion.

0 commit comments

Comments
 (0)