Skip to content

First Version Calculator Project#496

Open
SylvesterNdwata wants to merge 3 commits into
TheCSharpAcademy:mainfrom
SylvesterNdwata:main
Open

First Version Calculator Project#496
SylvesterNdwata wants to merge 3 commits into
TheCSharpAcademy:mainfrom
SylvesterNdwata:main

Conversation

@SylvesterNdwata
Copy link
Copy Markdown

All feedback is welcomed!!

@DSills735
Copy link
Copy Markdown

DSills735 commented Apr 30, 2026

Hi, @SylvesterNdwata. You have the joy/honor of being my first code review! For that reason, I apologize in advance for the disorganization. Still learning this process.

You did not have anything that blocks approval, but since you have incomplete challenges, I have requested changes.

Thank you!

@DSills735
Copy link
Copy Markdown

🟢 Good things!

Thank you for the effort in this project! I see a strong effort towards the challenges as well. Keep up the good work!

  1. Square root and power calculations

  2. Reusing previous answer

@DSills735
Copy link
Copy Markdown

🟠 Needs Improvement

  1. Y/N validation

The validation for Y or N input isn’t working as intended.
This could lead to incorrect flow or unexpected behavior.
Also, minor formatting issue. Add a space between "?" and "Type" for readability (this specifically is not blocking approval, but it fits here best).
Is the validation case agnostic? Hint: response.Trim().ToLower()?

Suggestion:
Tighten input validation (for example, normalize input and explicitly check valid values) and ensure the loop or branching behaves correctly.

y or n invalid validtion [ y or n validation code ](url)

@DSills735
Copy link
Copy Markdown

  1. Trigonometry function input flow (this blocks approval of the challenge.)

Currently skips asking for numbers and immediately redirects.
This breaks expected user flow.

Trig Not working

@DSills735
Copy link
Copy Markdown

DSills735 commented Apr 30, 2026

🟠 Needs Improvement

UI/UX Organization

“Press any key then Enter” effectively requires two key presses.
Not a major issue, but slightly clunky UX. I recognize that this is part of the tutorial. This doesn't require fixing, just note for the future.

Suggestion:
Use Console.ReadKey() instead of ReadLine() for smoother interaction.

  1. Console clutter

Output can get messy over time.

Suggestion:
Consider using Console.Clear() at appropriate points to improve readability.

console clear

@DSills735
Copy link
Copy Markdown

DSills735 commented Apr 30, 2026

🟠 Needs Improvement (Blocks approval of challenge)

  1. Calculator counter visibility

The counter appears to be implemented, but users can’t see it.

Suggestion:
Display the counter in the UI, for example after each calculation or in a header.

@DSills735
Copy link
Copy Markdown

🟠 Needs Improvement

  1. Case-agnostic input for operations

Allowing flexible casing is good, but it may introduce ambiguity or confusion depending on how inputs are handled.

Suggestion:
Consider guiding users with clearer prompts or restricting accepted inputs while still normalizing internally.

case input

Copy link
Copy Markdown

@DSills735 DSills735 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments. Thank you! @ Me when finished. If you don't plan on doing challenges, just remove the trigonometry call so I can pass you.

@SylvesterNdwata SylvesterNdwata requested a review from DSills735 May 1, 2026 11:41
Copy link
Copy Markdown

@DSills735 DSills735 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work! Project approved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants