Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Results for Dataset 9
- Differences: 2
- There were 2 differences between your output and the correct output.
- Below is Your Output, with line numbers added:
- 1: Enter the base:
- 2: Enter the first number:
- 3: Enter the second number:
- 4: List of operations:
- 5: +
- 6: -
- 7: *
- 8: /
- 9: Enter your choice of operation:
- 10:
- 11: OUTPUT:
- 12: The number is valid for base 5
- 13: Decimal value of the first number = 67
- 14: Decimal value of the second number = 68
- 15: Result in decimal = -1
- 16: Result in base 5 = 0
- **********************************************************
- Below is the Correct Output, with line numbers added:
- 1: Enter the base:
- 2: Enter the first number:
- 3: Enter the second number:
- 4: List of operations:
- 5: +
- 6: -
- 7: *
- 8: /
- 9: Enter your choice of operation:
- 10:
- 11: OUTPUT:
- 12: The number is valid for base 5
- 13: Decimal value of the first number = 67
- 14: Decimal value of the second number = 68
- 15: Result in decimal = -1
- 16: Result in base 5 = -1
- **********************************************************
- Below is how to change your output to the correct output, with the required changes numbered:
- Insert after Line 15: Result in base 5 = -1
- Delete Line 16: Result in base 5 = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement