3rd Program List for B.C.A.
1st Sem
1) WAP in which two integers are input through the keyboard and find out the sum of these two using function.
2) WAP with user defined function CUBE that calculate the cube of the integer from 1 to 10.
3) WAP where two integer values are input through the keyboard and find out the interchanged values using
function.
4) WAP to find the greatest number among three numbers using function.
5) WAP to evaluate the sum of a series 1+1/2!+1/3!+1/4!+……………….+n th term using function.
6) WAP which will show the use of putchar( ) and getchar( ) function.
7) WAP which will show the use of gets( ) and puts( ) function.
8) WAP in which two floating point values are input through the keyboard and find the largest number among two
using function.
9) WAP in C which show the concept of global and local variables.
10) WAP to illustrate the function with no arguments and no return value.
11) WAP in C to swap two numbers using call by value.
12) WAP for finding the factorial of a given number by recursion.
13) WAP to evaluate the power series… ex= 1 + x + x2/2! + x3/3 ! +--------+ xn/n!
14) WAP which will show the use of different storage classes.
15) WAP to print the value of a,b using increment operator
16) WAP to print values using decrement operator
17) WAP in C where two integers are to be entered through the keyboard. Find out the greatest number with the
macro.
18) Write down macro definition to test a character entered is a small case letter or not.
19) WAP in which if the number is entered in the form of numbers as 123 it will give the output in the format of
character as ONE TWO THREE.