Question: The Maximum Character. Using the provided method header, write a method to determine the character with the highest ASCII value within a string. Your

The Maximum Character. Using the provided method header, write a method to 

The Maximum Character. Using the provided method header, write a method to determine the character with the highest ASCII value within a string. Your main program must ask for the string. You can use the example executions below to test your work, but your code should work for different values. public static char maximum Char(String str, char max) Examples: maximumChar("Data Structures", "\0') returns the character 'u' maximumChar("Algoma U", "\0') returns the character 'o' maximumChar("COSC2006", "\0') returns the character 'S' maximumChar("1234", "\0') returns the character '4' Reverse Number. Using the provided method header, write a method to reverse a number. In your reverse method, if the number is negative, reverse the number and put the negative sign after the reversed number. (this check is not in main) Your main program must ask for the number. HINT: you will need to use the divide operation and the modulus operator for this question. You can use the example executions below to test your work, but your code should also work for different values. You are not allowed to any string operations here. public static void COPYRIGHT Prof. Jahresole, 23W Examples: Reverse (12345) prints 54321 Reverse(-12345) prints 54321- erse(int number) Your methods for this lab must be recursive - if they are not, you will receive a zero for that question. Your method headers must match the ones provided, and you must use all parameters. If you do not, you will receive a grade of zero for that question. any static variables in any of your programs. Doing so will result in a grade of zero for the entire lab.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!