Professional Documents
Culture Documents
BCA Pract REc C Prog
BCA Pract REc C Prog
BCA Pract REc C Prog
Write a program to find out the greatest number among any three numbers
Name:
Roll No. :
Class:
Output:
Expt2:
Write a program to find out the greatest number among any N numbers
Name:
Roll No. :
Class:
Output:
Expt3:
Write a program to check whether the given number is prime or composite
Name:
Roll No. :
Class:
Output:
Expt4:
Write a program to find the greatest common divisor (GCD) of any two numbers
Name:
Roll No. :
Class:
Output:
Expt5:
Write a program to find the sum of digits of a number
Name:
Roll No. :
Class:
Output:
Expt6:
Write a program to check a string is palindrome or not
Name:
Roll No. :
Class:
Output:
Expt7:
Write a program to find the sum of the series: x - x2 + x3 - x4 + …. xn
Name:
Roll No. :
Class:
Output:
Expt8:
Write a program to find the sum of the series:
Name:
Roll No. :
Class:
Output:
Expt9:
Write a program to print the ‘*’ pyramid with left alignment for n rows in the screen of monitor
Name:
Roll No. :
Class:
Output:
Expt10:
Write a program to find the factorial of a number using recursion function
Name:
Roll No. :
Class:
Output:
Expt11:
Write a program to arrange any N numbers in ascending order
Name:
Roll No. :
Class:
Output: