src
Notes
Solutions will be marked by Automated Marking Software.
(1 mark, file to be edited: Q1.c)
The program asks the user to enter two integers a and b from the keyboard.
Print the result of the calculation: 1/a - 1/b, with 2 digits after the decimal point.
Below is an example of how the program will run:
Enter the values: a = 10, b = 3
2 of 2
Paper No: 13
Zoom
100%
Close