Programming Logic and Design Eighth Edition Chapter Two Elements of High-Quality Programs
Programming Logic and Design Eighth Edition Chapter Two Elements of High-Quality Programs
Objectives
In this chapter, you will learn about:
· Declaring and using variables and constants
· Performing arithmetic operations
· The advantages of modularization
· Modularizing a program
· Hierarchy charts
· Features of good program design
Declaring and Using Variables and Constants
Declaring and Using Variables and Constants
· Understanding Unnamed, Literal Constants and their Data Types
- Data types
· String is anything not used in math
- Different forms
· Integers and floating-point (also called real) numbers
· Numeric Constant (Literal numeric constant)
· String constants (alphanumeric values)