Preview

Firstsubroutine: A Subroutine Analysis

Satisfactory Essays
Open Document
Open Document
204 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Firstsubroutine: A Subroutine Analysis
The package and class are both named firstsubroutine. The student used the correct class name for this assignment.

This student almost uses a subroutine that reverses the word passed to it as a parameter. The subroutines in this student’s paper are not setup correctly, but all the functionality is still the same.

There is a separate subroutine that takes out all characters excepts for the alphabet. This subroutine is setup correctly.

This student’s assignment prompts the user to enter a word. I see the prompt output on the screen at the beginning of the program.

The output of this program shows the original word, the reversed word, and the stripped word. Also, the program indicates whether or not the string is a palindrome.

There are

You May Also Find These Documents Helpful