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:
Verified
Q39: On a flowchart, _ are used for
Q40: On a flowchart, _ are used for
Q41: On a flowchart, _ are used for
Q42: On a flowchart, _ are used for
Q43: On a flowchart, the Start and Stop
Q45: In the algorithm below, the Display statement
Q46: On a flowchart, assignment statements appear in
Q47: Look at the following pseudoocode and insert
Q48: The JavaScript equivalent of the pseudocode Input
Q49: The JavaScript equivalent of the pseudocode Declare
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents