Fix surface area output & book search syntax in Part 8 examples#469
Open
rohitdaivat wants to merge 4 commits intorage:masterfrom
Open
Fix surface area output & book search syntax in Part 8 examples#469rohitdaivat wants to merge 4 commits intorage:masterfrom
rohitdaivat wants to merge 4 commits intorage:masterfrom
Conversation
fixed the miscalculation in the surface area output for the rectangle class example. Before, it was 3920 (for width 39 & 80 height). the correct surface area calculation is 39*80 = 3120.
Fix missing closing parenthesis in the if-statement that searches for "Sense and Sensibility". This caused a compilation error. Located in Part 8 - Section 2: Hash Map lesson.
Author
|
🔧Update: I noticed another small issue in the Part 8 section (Part 8, Section 2). |
A semicolon was missing after book.getName() in the addBook method of the Library class, which caused a compilation error.
Author
|
🔧Update: I noticed another small issue in the same section (Part 8, Section 2). A semicolon was missing after book.getName() in the addBook method of the Library class, which caused a compilation error. This has been fixed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corrected the miscalculation in the sample output for the Rectangle class example. Before, the area of rectangle with width 39 & height 80 was 3920. The correct answer is 3120.
Change Made