Question: must be in C++ 8. Write a function, f8, that returns the value of the equation p = 5q3 +792 +49 +4. Then in maino,
8. Write a function, f8, that returns the value of the equation p = 5q3 +792 +49 +4. Then in maino, use f8 to find the values of p when q varies from 15 to 35. Furthermore, using function f7 from question 7. print only the values of a that are primes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
