Вы находитесь на странице: 1из 2

KIET GROUP OF INSTITUTIONS

Department of Computer Applications


RCA152 Programming Lab
Program List, Session 2016-17 (I Semester)
Basic Programs to familiar with C environment
1.
2.
3.
4.
5.

Display Hello World by using Printf( ) .


Write a program for addition of two numbers.
Write a program to find the average of four numbers.
WAP to calculate the roots of quadratic equation.
Write a program to find the simple interest by using the formula. ( SI = (P*
R * T)/100)
6. Write a program to convert Fahrenheit temp. to Celsius temp. C / 5 = ( f
32 ) / 9
7. WAP to get quotient and remainder of a number
8. WAP Find Out the percentage of marks of five subjects.
9. WAP to convert Rupees into Paisa.
10.WAP to calculate area and perimeter of rectangle, circle & triangle
11.WAP to calculate volume & surface area of cube sphere
12.WAP to swap the value of two variables
Basic Programs to familiar with . IF,IFELSE,IF ELSEIF & Nested IF and
switch
13.WAP to check given no is even or odd.
14.WAP to check a person is able to give vote or not, if age is given as input.
15.WAP to find the greatest of 3 no.
16.WAP to find whether the employee should be given bonus or not which
depends on the number of years of service. Bonus = Rs. 2500 if year of
service > 3.
17.WAP to display the age group 012 Infant, 1319 Teenage 2030 Youth,31
50 Middle age,5164 Old Age, 65 & Above Senior Citizen.
18.WAP to find the driver is insured or not by using if else and nested if else
statement
(i)
If age is between 2530 and gender is male and experienced is
more than 4 years then he is insured.
(ii)
If age is between 2225 and gender is female and experienced is
more than 2 years then she is insured.
19.WAP to check entered no is multiple of 7 or not.
20.WAP to check given character is vowel or not.
21.WAP to convert Upper case character into lower case and vice versa.
22.Write a menu driven program to calculate the addition, subtraction,
multiplication & division.

Basic Programs to familiar with LOOPING


23.WAP to display first 10 natural numbers.
24.WAP to display first 10 odd numbers.
25.WAP to display first 10 Even numbers.
26.WAP to display the table of 4.
27.WAP to display the table of entered number.
28.Write a program to calculate the factorial of given no

29.WAP to calculate value to the power of given no.


30.Write a program to count the number of digits in your entered number.
31.Write a program to display the sum of digits of entered number.
32.Write a program to display the number in reverse order.
33.Write a program to check the given no is prime number or not.
34.Write a program to display the Fibonacci series.
35.WAP to display following series
i)
1, 4, 9, 16, 25, 36, 49, 64, 81, 100
ii)
1, 8, 27, 64, 125
iii)
1, 2, 4, 8, 16, 32, 64, 128..
iv)
1,1, 2, 3 ,5 , 8, 13.
36.WAP to find the sum of the following series
i)
S = 1 + 3 + 5 + 7 +up to Nth Terms.
ii)
S = 1 2 + 3 4 + 5 6 +. Up to Nth Terms.
iii)
1 1 + 2 2 + 3 3 + up to Nth Terms.
iv)
100 + 97 + 94 +.+ up to Nth Terms .

Programs to familiar with Array single dimension and multi


dimension
37.WAP to enter the 10 numbers in an array and print those numbers.
38.WAP to find the sum of elements in the array.
39.WAP to find the maximum value among the elements of array.
40.WAP to count the no. of even and odd numbers in the array.
41.WAP to find the sum of odd & even numbers in the array.
42.WAP to search a particular element.
43.Write a program to addition two matrices.
44.Write a program to transpose a matrix.

Programs to familiar with Strings


45.Write
46.Write
47.Write
48.Write
49.Write
50.Write

a
a
a
a
a
a

program
program
program
program
program
program

to
to
to
to
to
to

check the given string is palindrome or not.


find the length of given string.
print the string in reverse order.
count the total no of vowels in given string.
compare the two strings is equal or not
create the duplicate copy of given string

Вам также может понравиться