Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ importance: 5

Create an object `calculator` with three methods:

- `read()` prompts for two values and saves them as object properties.
- `read()` prompts for two values and saves them as object properties. (Note: Use property names of a & b respectively)
- `sum()` returns the sum of saved values.
- `mul()` multiplies saved values and returns the result.

Expand Down