Document From ...
Document From ...
If n=5
#
33
##
###
####
#####
Write a program to print the given pattern:
If n=5
34 1
22
333
4444
55555
35 WAP to print the reverse of the given integer number.
36 WAP to check whether the given number is palindrome or not.
WAP to generate the sum of the following series:
37
1! + 2! +3! +4! + ………….n!
WAP to display the given integer as follow:
If n=1256
Output:
38 6
5
2
1
WAP to count the number of vowels & consonants in the given character array.
Input : HelloClass
39 Output :
No. of Vowels = 3
No. of consonants = 7
40 WAP to find the maximum & minimum elements in the given array.
41 WAP to implement Binary Search Algorithm.
42 WAP to merge(append) the two given arrays.
WAP to find the product array of two given arrays as following:
A={1,2,3}
43 B={4,2}
Output: P={6,12,18}
44 WAP to implement Selection Sorting Algorithm.
45 WAP to implement Bubble Sorting Algorithm.
46 WAP to implement Insertion Sorting Algorithm.
47 Write a user defined function to swap two numbers using the Call By Value method.
48 Write a user defined function to swap two numbers using the Call By Reference method.
49 Write a Recursive Function program to compute the factorial of a given number.
Write a program to input and display the following details of 7 cars using Array of Structure:
50 Car Name
Car Manufacturing Year
Car Price
Write a program to write your introduction(3-5 lines) in the “intro.txt” file and count the
51
numbers of words in that file. Also display the count of words on the console screen.