Step 4: Submit solution for each question:
Choose question number (e.g., 1) in PEA software, and then attach corresponding solution folder (e.g., 1). Click Submit button to finish submitting this question.
1
run
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 = 3, b = 7
2 of 2
Paper No: 6
37
+ 100%
Zoom
Close