Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

http://courses.govhs.org/d2l/common/viewFile.d2lfile/Database/MTExNzQ2Mg/vowels_

ID: 3527364 • Letter: H

Question

http://courses.govhs.org/d2l/common/viewFile.d2lfile/Database/MTExNzQ2Mg/vowels_r_us.java?ou=91283

The link above is to the file that I need to be revised. The parameters for the revision are as follows:


1.NO GLOBAL VARIABLESare allowed !!!! -- with the exception of file input / output variables.

2.All variables must be either declared locally in the method or passed as parameters.

3. Keep in mind that the only parameters that are passed between methods are those required to transmit shared information. DO NOT engage in "over-kill"by passing each and every variable declared in main to each and every method in your class!!

4. Some methods may need to be changed toreturn values to the calling routine. If that is the case, another variable must exist on the left side of the assignment statement in the calling routine as the receiving variable, with the method call on the right side. For Example :

Old Version :

- a call tomethodisVowelwhich set a boolean variable to true or false appeared as follows :isVowel( );

New Version :

- call toisVowelreturning a boolean :vowelTest = isVowel( WordSuffix);

-the method header line in thenew versionis as follows :

public static booleanisVowel (String suffix)

{

boolean tempBool;

//...........................Method Code ...................which establishes the value of tempBool

return tempBool;

}

Please post the revised code in the comments or send the revised java file to silkyhawk9712@yahoo.com and then comment and I will provide the appropiate rating. Thank you!

Explanation / Answer

please reduce question size and post it in understanding format