You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tasks 3 and 4 are implemented well using top-level statements and inline class definitions. Task 3 correctly uses ref and out to modify the second number and produce the third. Task 4 includes empty-array handling, proper max/average calculation, and formatted average output. Separate Student and BankAccount classes exist with appropriate properties and methods.
Weaknesses / Mistakes
The Tasks1_2 project only prints “Hello, World!” and does not instantiate or demonstrate the Student or BankAccount classes. Tasks 1 and 2 are therefore not shown working at runtime. Task 2’s ShowBalance is never called in a demo sequence in that project.
Suggestions for Future Work
Wire up Tasks 1 and 2 in Program.cs: create a Student, call Introduce(), and run deposit/withdraw/show balance on a BankAccount. Submit one cohesive solution or clearly runnable projects for every task. Tasks 3 and 4 set a good standard—match that completeness for Tasks 1 and 2.
Rating: 6.5/10
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
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.
امین فیروزی-HW-L2-02-InitialFirstConsoleAppPart2