0% found this document useful (0 votes)
7 views

100_Program_List 1 to 27

Uploaded by

keval.vora119988
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

100_Program_List 1 to 27

Uploaded by

keval.vora119988
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Sr.

Problem Definition Difficulty


1 WAP to find a sum of even number into 1D array. 3
2 WAP to find whether string is palindrome or not. 3
3 WAP to find a Factor of a given number (iterative and recursive) 4
4 WAP to find a factorial of a given integer (iterative and recursive) 4
5 WAP to find a summation of a digit of a given number. (Iterative and 5
recursive)
6 Print a following pattern 5
1
12
123
1234
7 WAP to find a Fibonacci series up to n terms (n is entered by user) (iterative 6
and recursive)
8 WAP to find a total odd and total even digit of a given number. 7
9 WAP to find whether a number is Odd or Even without using a % operator. 7
10 WAP to find a prime number between range (range should be entered by 8
user).
11 WAP to find weather given number is Armstrong number is not. 8
12 WAP to find Max, Min, Average of n numbers, n should be taken from user 8
and all n value should be taken from user (Note that you are not allowed to
use an array for this)
13 WAP to find a Multiplication of 2 Matrix (dimension and value should be 8
entered by user)
14 WAP to calculate an angle between hour and minute hand. (Hours and 8
minutes should be taken from user).
15 WAP to convert a Decimal number to BCD. 8
16 WAP to sort an Array using Bubble sort. 8
17 WAP to sort an Array using insertion sort. 8
18 WAP to sort an Array using Selection sort. 8
19 WAP to sort an Array using Bucket sort. 8
20 WAP to find a power a^b (without using power and multiplication 9
operation).
21 WAP to sort an Array using Radix sort. 9
22 Print a following pattern: 9

23 WAP to enter an element at specific position into array. (Do not take a new 9
array)
24 WAP to delete an element from array specified by user. if element is not 9
found print a message “Element is not found” (do not take a new array).
25 WAP to check weather number is present in array or not (using recursion 9
only) and the function’s syntax is given below
Int isInArray(int a[],int m);
Where int a[] is Array of integer and m is element to be searched.
26 WAP to convert a Binary to Decimal 9
27 WAP to sort an Array using Counting sort. 9

You might also like