This program will use an interval[a, b]wherea=1 andb=10. Write a program that will compute the values of the equation:
y = (x-4)*(x-4) + 3 for integerx on the interval[a, b]
and write them to a file named loop.cpp.
You should write the function using (a)for loop, and (b)while loop
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here