Print the Sum of the Series: 1+1/2+1/3+---+1/n in C

preview_player
Показать описание
Welcome to Plain Coders:
This program is about to print the sum of series which is :
1+1/2+1/3+---+1/n using for loop where n is entered by the user itself
Please do Like,Share and SUBSCRIBE
Рекомендации по теме
Комментарии
Автор

It's well but the method and the answer as well both are wrong...

ythearthacker
Автор

Hello Mam
The output in printf statement is a double so it is not %f instead of %d

BestEditor