# Lab8 - Lab 8 assigned 11/27 due 12/9 at 11:59pm This is our...

This preview shows pages 1–2. Sign up to view the full content.

Lab 8 – assigned 11/27, due 12/9 at 11:59pm. This is our last lab, and will serve as a summary of the entire class, to get you ready for the final exam. The final exam will contain questions derived directly from this exercise. If you accomplish this lab and Lab 7, you can pretty much cruise during finals weekend. We will exercise the following concepts: - User input / output - Calling library functions - Writing our own functions - Arrays - Binary numbers The objective: write a program to do the following: ************************************* * * * 1. Solve a Quadratic Equation * * 2. Generate a Random Number * * 3. Calculate Your Lab Average * * 4. Translate # of Bits into * * Largest Binary Number * * 5. Exit * * * ************************************* 1. Solve the general quadratic equation ax 2 + bx + c = 0 . Take a, b, and c as input from the user. 2. Ask the user for a maximum number, in the range 1 through 1,000,000. Return a random number in that range. 3. Calculate your lab average (including dropping the lowest grade). To do this, input an array of lab values,

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

Lab8 - Lab 8 assigned 11/27 due 12/9 at 11:59pm This is our...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online