Computing Notes #2
Slides in this set (1)
-
- Variables could be used to store the score in a game, the number of cars in a car park or the cost of items on a till. They work in a similar way to algebra, where a letter in your code can stand for a number.
- To make a simple program that displays your name, you could program the computer to:
- 1. Ask for your name.
- 2. Store that answer as a variable called ‘YourName’.
- 3. Display “Hello” and the string stored in the variable called 'YourName'.
Information
- Description
- Specific notes in more detail
- Created by
- Lissa.H · May 2016
- Updated
- Jun 1, 2016
- Views
- 1
- Rating