Unformatted text preview: cout << <Literal Text> ; with or without endl ; cout << <Double Value>; with or without endl ; cout << endl; 7. Evaluate syntactically valid arithmetic expressions containing real numbers and the operators +, -, *, and /. 8. Use the normal mathematical precedence for the operators. 9. Do not support parentheses. 10. Do not use any functions in the evaluation of the numbers. Suggestions : 1. Begin with the Homework 3 program. 2. Delete functions not needed. 3. Add new functions required: Do NOT use any library functions other than the iostream and fstream functions specified above. 4. Use a modified version of the Homework 3 evaluate function to evaluate the numbers on the input lines. Grading : 25%: Program design; 25%: Program implementation; 10%: Test data; 40%: Results: 20 tests @ 2% each Due Date : Thursday March 4, 2010: 9:00 PM : Projects must be submitted electronically....
View Full Document
This note was uploaded on 03/08/2010 for the course COM SCI 31 taught by Professor Kinsey during the Spring '98 term at UCLA.
- Spring '98