While-loop
- WAP - To check string is Palindrome or not
- WAP - To check number is Armstrong or not.
- WAP - To check number is perfect or not.
- WAP - To check number is prime or not
- WAP - To find number Factorial.
- WAP - To find number Factorial or not
- WAP - To print Fibonacci & and Tribonacci.
- WAP - To find prime number between the number rang
- WAP - To calculate area of circle, (Square, rectangle and triangle )
- WAP - To check Leap year or not.
- WAP - To swap to numbers.
- WAP - To swap to numbers without using third variable.
Array
- WAP - To sort array element in ascending and descending order.
- WAP - To insert element at beginning, ending and any position of array.
- WAP - To print array element in reverse order.
- WAP - To find maximum and minimum element of array (smallest, largest)
- WAP - To print 2d array matrix transport matrix.
- WAP - To print mirror matrix
- WAP - To swap two matrix.
- WAP - To print palindrome string
- WAP - To convert temperature Celsius to Fahrenheit and vice-versa
- WAP - To add two number using pointer.
- WAP - To print 5 student records suing structure and union.
- WAP - To calculate total and average marks of 5 subjects (struct)
-
WAP - to calculate tax
Conditions : if ≤1000 then “No Tax”
if > 1000 && ≤ 100000 then “10%” tax
if > 100000 then “25%” tax
WAP - To add every element from array.
WAP - To search array elements with appropriate location
Patterns
- Pattern 1
*
* *
* * *
* * * *
* * * * *
- Pattern 2.
* * * * * *
* * * * * *
* * * * * *
* * * * * *
- Pattern 3
*
* *
* * *
* * * *
* * * * *
* * * * * *
- Pattern 4
1
2 3
4 5 6
7 8 9 10
11 12 13 14
- Pattern 5.
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
- Pattern 6: half pyramid of alphabets
A
B B
C C C
D D D D
E E E E E
Top comments (0)