Advertisement
SmellyBadger

Untitled

Nov 5th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. Results for Dataset 9
  2. Differences: 2
  3. There were 2 differences between your output and the correct output.
  4.  
  5. Below is Your Output, with line numbers added:
  6.  
  7. 1: Enter the base:
  8. 2: Enter the first number:
  9. 3: Enter the second number:
  10. 4: List of operations:
  11. 5: +
  12. 6: -
  13. 7: *
  14. 8: /
  15. 9: Enter your choice of operation:
  16. 10:
  17. 11: OUTPUT:
  18. 12: The number is valid for base 5
  19. 13: Decimal value of the first number = 67
  20. 14: Decimal value of the second number = 68
  21. 15: Result in decimal = -1
  22. 16: Result in base 5 = 0
  23. **********************************************************
  24.  
  25. Below is the Correct Output, with line numbers added:
  26.  
  27. 1: Enter the base:
  28. 2: Enter the first number:
  29. 3: Enter the second number:
  30. 4: List of operations:
  31. 5: +
  32. 6: -
  33. 7: *
  34. 8: /
  35. 9: Enter your choice of operation:
  36. 10:
  37. 11: OUTPUT:
  38. 12: The number is valid for base 5
  39. 13: Decimal value of the first number = 67
  40. 14: Decimal value of the second number = 68
  41. 15: Result in decimal = -1
  42. 16: Result in base 5 = -1
  43. **********************************************************
  44.  
  45. Below is how to change your output to the correct output, with the required changes numbered:
  46.  
  47. Insert after Line 15: Result in base 5 = -1
  48. Delete Line 16: Result in base 5 = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement