project03 - CSE 231, Fall 2007 Programming Project 03...

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

View Full Document Right Arrow Icon
CSE 231, Fall 2007 Programming Project 03 Assignment Overview This assignment is worth 30 points (3.0% of the course grade) and must be completed and turned in before 11:59 PM on Monday, September 17, 2007 . The purpose of this project is to familiarize you with the use of Boolean logic, branching statements and loops. For this assignment, you will create a program that is a simple calculator. Background You calculator will perform addition, subtraction, multiplication and division. It will accept floating-point values, and it will check for division by zero. Input will be in the form: operand operator operand where operand can be any Real number and operator is +, -, *, or /. The operator must be separated from the operands by at least one space, i.e. “4+3” will cause Python to generate an error. We cannot protect ourselves from that error (yet) so we will simply assume that the user will not make that error when entering values. When you hit the Enter key, the result will be printed. If an illegal operand is used or division
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/19/2008 for the course CSE 231 taught by Professor Punch during the Fall '07 term at Michigan State University.

Page1 / 2

project03 - CSE 231, Fall 2007 Programming Project 03...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online