(1 mark, file to be edited: Q3.c)
☑ Kizspy. me Users are required to enter an integer number 'n' (n > 0) using the keyboard (STDIN).
The system displays result of S according to the following formula (n > 0):
Zoom
1 1 1
1
S==+ +++
1 2 3
n
Please print out the result of S with 3 decimal places with format as image below.
Below is an example of how the program will run:
Enter the value 3 for 'n'.
INPUT:
3
OUTPUT:
1.833
Press any key
to continue
+100%
Close