Write a program that reads a number and prints the -th harmonic number, defined as .
Input consists of a natural number .
Print with 4 digits after the decimal point.
Author: Unknown
Translator: Salvador Roura
Generation: 2026-01-25T11:34:14.804Z
© Jutge.org, 2006–2026.
https://jutge.org