report - No company name Negative annual income No industry...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Alan Hwang 103 777 115 Disc 1J CS 31 Project 2 The main problems I had in writing this code were: 1) Coming up with the correct mathematical formula for each case and 2) How to represent if a the user did not provide a company name or industry. It took a while before I realized you had to use == “”. Tests that I ran:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: No company name Negative annual income No industry Non-positive number of employees Annual Sales (500, 699, 900, 1000) Number of Employees (1000) for both above and below 700 trillion grubnicks Industry (mud, phishing, random) The code handled all of them well with correct results....
View Full Document

This note was uploaded on 11/10/2011 for the course CS 31 taught by Professor Melkanoff during the Spring '00 term at UCLA.

Ask a homework question - tutors are online