3
You will need: a pen and paper
This flowchart should:
take a number from the user
multiply the number by 2 and output it in a
message
multiply the number by 4 and output it in a
message.
Predict: Identify a number to be input.
Write down what the output should be.
Run: Test the flowchart with the number you have
identified and write down the output.
Investigate:
1
2
Identify where there is a difference between
what you predicted, and the result.
Identify the error, or multiple errors, and change
the flowchart.
Re-test the flowchart with the same number.
Write down the output.
Repeat until the flowchart works.
Start
OUTPUT "Enter a
number"
INPUT number
first number 2
OUTPUT number &
2-& first
-
second number 4

OUTPUT number &
4- & first
Stop
Figure 1.14: Flowchart for programming task