Write shell programs for the following: (15 Marks)
(a) To find second largest number among the 5 numbers given.
(b) To find sum of all the alternate digits in a given 7 digit number.
(c) To count number of vowels in a given string.
(d) To take 2 strings as input, concatenate them and display the length of the resultant string.
(e) To display the reverse of a given number.
(a) To find second largest number among the 5 numbers given.
(b) To find sum of all the alternate digits in a given 7 digit number.
(c) To count number of vowels in a given string.
(d) To take 2 strings as input, concatenate them and display the length of the resultant string.
(e) To display the reverse of a given number.
0 comments:
Post a Comment
Let us know your responses and feedback