List of Programs Principle of Programming and Algorithm
This document contains a list of 34 programs (WAP) that cover fundamental programming concepts like variables, data types, operators, conditional statements, loops, functions, recursion, and more. The programs include calculating area of shapes, simple interest, maximum of numbers, prime checking, factorials, power, palindrome checking, and more. They are designed to help students learn basic programming techniques.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
50 views1 page
List of Programs Principle of Programming and Algorithm
This document contains a list of 34 programs (WAP) that cover fundamental programming concepts like variables, data types, operators, conditional statements, loops, functions, recursion, and more. The programs include calculating area of shapes, simple interest, maximum of numbers, prime checking, factorials, power, palindrome checking, and more. They are designed to help students learn basic programming techniques.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
List Of Programs
Principle of Programming and Algorithm
BCA-102
WAP to print understand the concept of variable and garbage value.
WAP to print the concept of character I/O function getch( ), getche( ) etc. WAP to calculate the area of a circle. WAP to understand the concept of different data types and their Input/output. WAP to understand the concept of increment and decrement operator. WAP to understand the concept of sizeof() operator. WAP to calculate simple interest (and use type casting if needed). WAP to find the aggregate marks and percentage of five subjects entered by a student. WAP to calculate area and perimeter of the rectangle. WAP to swap the values of two variables with the help of third variable. WAP to swap the values of two variables without using third variable. WAP to check whether the entered no. is even or odd. WAP to check whether the entered no. is positive, negative or zero. WAP to find the maximum of two numbers entered by the user. WAP to find the maximum of three numbers entered by the user. WAP to print the sum,difference,product of two numbers using switch statement. WAP to print the numbers between 1 to n using while loop. WAP to print the numbers between 1 to n using do-while loop. WAP to print the factorial of a no. entered by the user. WAP to print the power of a number nm. WAP to check a no is Armstrong or not. WAP to print the table of any no. entered by the user. WAP to print the sum of first n numbers. WAP to print the sum of any n numbers. WAP for reversing the digits of a no. WAP to check a number is palindrome or not. WAP to print the sum of digits of a number. WAP to check whether the entered no. is prime or not. WAP to print the factors of a no. WAP to demonstrate the use of continue statement. WAP to check whether the entered no. is perfect or not. WAP to print the GCD(HCF) of two numbers. WAP to print table from 1 to n. WAP to print the factorial of a no. using a user defined function. WAP to print the n raised to the power m using a user defined function. WAP to demonstrate the use of Call by Value. WAP to demonstrate the use of Call by Reference. WAP to print the factorial of a no. using recursion. WAP to print the n raised to the power m using recursion. WAP to demonstrate the use of local and global variables.