Assignment 3
CS 133u
100 POINTS
DUE announced in class
Purpose: To become familiar with simple expressions and conditional loop statements.
Problem: Modify the program in assignment 2 such that:
You will now add three new math calculations of your choice. Such as, square root, quadratic equation, temperature conversion, etc. make sure to comply with the rules of mathematics (do not allow div/0 sqrt (negative number), etc.) Let the user be aware of those rules showing instruction on the screen and you will also protect div/0 and sqrt of negative numbers, using control structures.
A sample interaction with your program would be like:
<Always give a nice intro to your program and let the user is aware of
what the programs does>
|
Turn in:
Any questions, please let your instructor know.