Question: Code is functional, however it needs to pass given tests for the assignment guidelines, how would I fix this? Failure: junit.framework.ComparisonFailure: Error in displayUserWord expected:

Code is functional, however it needs to pass given tests for the assignment guidelines, how would I fix this?

Failure: junit.framework.ComparisonFailure: Error in displayUserWord expected: but was:

-code is below-

public static String displayUserWord(String userWord) { String displayWord; displayWord = ""; for (int i = 0; i

Code is functional, however it needs to pass given tests for the

ENFIU BS Statistics (Entered Summer 2018 COP 2210- Fall 2018VPAWordGuess.java //rsreE. tlmet n'"urd'teR:es... : . " .. + es Tne88); - _ 89 ntaractians Conzol: Compller Ourpu: Te:O.tp.t RENG 745 PM 1122018 Type here to search ENFIU BS Statistics (Entered Summer 2018 COP 2210- Fall 2018VPAWordGuess.java //rsreE. tlmet n'"urd'teR:es... : . " .. + es Tne88); - _ 89 ntaractians Conzol: Compller Ourpu: Te:O.tp.t RENG 745 PM 1122018 Type here to search

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!