(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: 2
10 3
OUTPUT:
-0.23
Press any key to continue
Question 2:
(1 mark, file to be edited: Q2.c)
The program requires the user to enter two integers m and n (men) from the keyboard
Zoom
+ 100%
Close