0% found this document useful (0 votes)
25 views3 pages

program-x

Uploaded by

dgpguru
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
25 views3 pages

program-x

Uploaded by

dgpguru
Copyright
© © All Rights Reserved
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/ 3

Define a class to declare a character array of size ten, accept the character into the array and

perform the following: • Count the number of uppercase letters in the array and print. • Count the
number of vowels in the array and print

Define a class to declare an array of size 20 of double datatype, accept the elements into the array
and perform the following: • Calculate and print the sum of all the elements. • Calculate and print
the highest value of the array
Define a class to accept two strings, convert them into uppercase, check and display whether two
strings are equal or not, if the two strings are not equal, print the string with the highest length or
print the message both the strings are of equal length

Define a class to accept a string, convert it into lowercase and check whether the string is a
palindrome or not. A palindrome is a word which reads the same backward as forward
Define a class to accept and store 10 strings into the array and print the strings with even

number of characters

}}}

You might also like