Question: Objective: Write a C++ program that interacts with the user and does some repetition. Reference: Lectures and Chapter 4 Lab: A. Using any of the

 Objective: Write a C++ program that interacts with the user and

Objective: Write a C++ program that interacts with the user and does some repetition. Reference: Lectures and Chapter 4 Lab: A. Using any of the three loops, write a program that will evaluate the function y = 4x^2 - 16x + 15, with x going from 1 to 2 in steps of 0.1. For each x, give the value of y and the message POSTIVE or NOT POSITIVE. Format the output in this format: B. Once you have the above code working. In the SAME cpp file, use a second type of loop to evaluate y = 2x^3 - 5x + 7 going from 3 to 4 in steps of 15. Do the same as above, format and include the message POSTITIVE or NOT POSITIVE. C. Now use the third type of loop. Prompt for the start value, end value and increment value and evaluate y = 3x^4 + 8x^2 - 24. Once again, format as above and include the message POSTITIVE or NOT POSITIVE When you have successfully completed the entire lab: 1. Run the program and copy the output to the end of the cpp file as a comment. 2. Upload the completed cpp file to Canvas. You will be graded on: Good programming style (5) Comments(30) Neat and readable (10) Variables (5) Logic (10) (10) Prompting (10) Selection (5) Repetition Output (10) Other

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!