problem 26 #include <stdio.h> int main () { int n; float sum = 0.0; printf("Enter a value of n: "); scanf("%d", &n); for (int i = 1; i <= n; i++) { sum += 1.0 / i; } printf("Answer of the series: %f", sum); } Copy Enter a value for n: Calculate and Display Results