Skip to content

Commit 62b2a15

Browse files
authored
Merge branch 'bhoffman0:master' into master
2 parents fa7c68c + 86580c4 commit 62b2a15

4 files changed

Lines changed: 11 additions & 6 deletions

File tree

_sources/Unit3-If-Statements/magpie4.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ You can also step through the code in the |Java Visualizer|. It may take a minut
175175
* something "you"
176176
* @return the transformed statement
177177
*/
178-
private String transformIMeStatement(String statement)
178+
private String transformIYouStatement(String statement)
179179
{
180180
// ADD CODE HERE
181181
return "Why do you...";
@@ -315,7 +315,7 @@ Look at the code. See how it handles “I want to” and you/me statements.
315315

316316
.. |replit.com version 4| raw:: html
317317

318-
<a href="https://firewalledreplit.com/@BerylHoffman/Magpie-ChatBot-Lab-v4#Main.java" target="_blank">replit.com version 4</a>
318+
<a href="https://replit.com/@BerylHoffman/Magpie-ChatBot-Lab-v4#Main.java" target="_blank">replit.com version 4</a>
319319

320320

321321
Then add two new methods, ``transformIWantStatement`` and ``transformIYouStatement``, and calls to each as described below. Alter the code either above in the active code window or on |JuiceMind| or |replit.com version 4| or in an IDE of your choice:

_sources/Unit4-Iteration/topic-4-1-while-loops.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ When you finish and run your program, what is a good guessing strategy for guess
477477

478478
<a href="https://replit.com/@BerylHoffman/Guessing-Game#Main.java" target="_blank">replit</a>
479479

480-
For this project, you will need to use the |Scanner class| for input and |JuiceMindGuess| or |replitGuess| or another IDE of your choice.
480+
For this project, you can use the |Scanner class| for input and |JuiceMindGuess| or |replitGuess| or another IDE of your choice.
481481

482482
.. activecode:: challenge4-1-loop-GuessingGame-autograde
483483
:language: java

_sources/Unit5-Writing-Classes/topic-5-4-accessor-methods.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ You've been hired to create a software system for the Awesome Animal Clinic! The
420420
{
421421
String output = getMethodOutput("main");
422422
423-
String expect = "3+ line(s) of text";
423+
String expect = "2+ line(s) of text";
424424
String actual = " line(s) of text";
425425
426426
int len = output.split("\n").length;
@@ -433,9 +433,9 @@ You've been hired to create a software system for the Awesome Animal Clinic! The
433433
{
434434
actual = output.length() + actual;
435435
}
436-
boolean passed = len >= 3;
436+
boolean passed = len >= 2;
437437
438-
getResults(expect, actual, "Checking main method prints info for 3 Pet objects", passed);
438+
getResults(expect, actual, "Checking main method prints info for 2 Pet objects", passed);
439439
assertTrue(passed);
440440
}
441441
}

_static/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ strong,
3333
font-weight: bolder;
3434
}
3535

36+
.runestone-sphinx
37+
div.highlight pre {
38+
background-color: lightyellow;
39+
}
40+
3641
a,
3742
.runestone-sphinx a
3843
{

0 commit comments

Comments
 (0)