Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glasgow | Iakub Dubachev | MODULE DATA FLOWS | Data Destructuring | Week 1 #119

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

IakubDubachev
Copy link

@IakubDubachev IakubDubachev commented Jan 3, 2025

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Implemented a receipt printing program using object destructuring to extract itemName, quantity, and unitPricePence from each order item.
Ensured proper alignment and formatting for the receipt output.
Calculated the total cost in pounds and displayed it at the end of the receipt.

Questions

Questions for the Reviewer
Is the formatting of the receipt clear and aligned properly?
Are there any improvements you’d suggest for how I handled the total cost calculation?
Do you notice any edge cases I might have overlooked?

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.

1 participant