Question: The flowchart for a computer program contains the following segment: VAR = 0 I F VAR 5 THEN VAR = VAR + 2 OTHERWISE EXIT

The flowchart for a computer program contains the following segment:
VAR =0
IF VAR 5 THEN VAR = VAR +2
OTHERWISE EXIT LOOP
LOOP
What is the value of VAR at the conclusion of this routine?
A.0
B.2
C.4
D.6
 The flowchart for a computer program contains the following segment: VAR

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!