Apr 30, 2018 at 5:21pm
Write a C++ program to implement/compute the following mathematical
function f(x) for a positive integer x:
1/2 + 2/3 + 3/4 + .... x/x+1
Help.
Apr 30, 2018 at 6:11pm
Shouldn't x be an int ?
What is n for ?
Apr 30, 2018 at 6:46pm
garza07, are you sure they don't want you to literally output the string "1/2 + 2/3 +...." rather than a single float result?
Apr 30, 2018 at 6:59pm
you are right let me fix my program