Manipulating Numbers and Strings

  • Wallace Wang


Every program needs to store data temporarily in variables. However, for a program to be useful, it must also manipulate that data somehow to calculate a useful result. A spreadsheet lets you add, subtract, multiply, and divide numbers. A word processor manipulates text to correct your spelling and format text. Even a video game responds to joystick movements to calculate a new position for the player’s object such as a cartoon person, airplane, or car. Using data to calculate a new result is the whole purpose of every program.


Data Type Logarithmic Function External Parameter Mathematical Operator Decimal Number 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material (3 kb)
ch06 (zip 3 kb)

Copyright information

© Wallace Wang 2015

Authors and Affiliations

  • Wallace Wang
    • 1
  1. 1.CAUS

Personalised recommendations