Computer Science, asked by ColdSystem, 4 months ago

Define a class WordOp having the following description:
Data members/ Instance variables:
str : to store a word
max : to store the highest alphabetical character present in the word.
min : to store the lowest alphabetical character present in the word.
Member functions:
WordOp(String s) : parameterized constructor to accept a word in UpperCase.
void calcMaxMin() : to find the highest and the lowest character present in the word.
void display() : to display the word along with the highest and the lowest character.

Answers

Answered by TheNewPart
1

Answer:

Some noncommunicable diseases are more common than others. The four main types of noncommunicable diseases include cardiovascular disease, cancer, chronic respiratory disease, and diabetes.


xxXAbhayXxx: Hi
xxXAbhayXxx: nind ur gai
TheNewPart: hmm
TheNewPart: hi
TheNewPart: aab kiske sath prank kare
Similar questions