Module 1_Ch7 - Arithmetic and Relational Operators_0511_2017.pdf - MODULE 1 OBJECT-ORIENTED PROGRAM LOGIC AND DESIGN Chapter 7 Arithmetic and Relational

# Module 1_Ch7 - Arithmetic and Relational Operators_0511_2017.pdf

• 18

This preview shows page 1 - 6 out of 18 pages.

Chapter 7 Arithmetic and Relational Operators 7. Arithmetic And RelationalOperators MODULE 1 OBJECT-ORIENTED PROGRAM LOGIC AND DESIGN

Subscribe to view the full document.

What are Operators? 7. Arithmetic And RelationalOperators Operators are needed to transform or manipulate data Mathematical computations, comparison of two values or setting initial values of variables are made possible by using arithmetic or relational operators Operators are important in that a miscalculation, missed value or wrong comparison may compromise the integrity of a whole module or a whole program
The two types of operators in this section are: Arithmetic operators Relational operators 7. Arithmetic And RelationalOperators What are Operators?

Subscribe to view the full document.

An arithmetic or logical expression is formed by a combination of variables or literals and an operator Format for an arithmetic or logical expression: < operand1 > operator < operand2 > where operand1 or operand2 could be any literal or variable name 7. Arithmetic And RelationalOperators What are Operators?
Arithmetic Operators 7. Arithmetic And RelationalOperators Arithmetic operators perform mathematical

Subscribe to view the full document.

• Fall '17
• Marlon naagas

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern