Solved

In the Algorithm Below, Adding 10 Years to the Age

Question 2

Multiple Choice

In the algorithm below, adding 10 years to the age variable and storing the result in the newAge variable is an assignment statement, so on a flowchart, it is placed in a(n) ____.
Start
// Declare variables
Declare Numeric age, newAge
// Get user's age
Display "Please enter your age: "
Input age
// Compute age in 10 years
NewAge = age + 10
// Display new age
Display "In 10 years, you will be " + newAge
Stop


A) rectangle
B) parallelogram
C) terminal symbol
D) annotation box

Correct Answer:

verifed

Verified

Related Questions