20.6k views
0 votes
Key

Task
Decision
N =
Input()
Start
Start and end
Direction of flow
A =
Input()
14 -
N = 5
TRUE
A = 10
Is N >A?
Output N
FALSE
WHAT IS THE OUTPUT?
Output A
End

Key Task Decision N = Input() Start Start and end Direction of flow A = Input() 14 - N-example-1

1 Answer

3 votes

Answer:

It will output N (15).

Step-by-step explanation:

N = Input() Means that you are in-taking userdata, and as it states, they put in 15. Hence, N = 15. A = Input() is the same process, except they wrote 10. So A = 10.

Then, we measure is N > A. Is 15 > 10? Yeah.

Therefore, this is TRUE, so we follow the TRUE path. This will "Output N" (A fancy way of saying, 'hey compiler, write the value of N onto the user's screen'), This means it will output 15.

User Mikka
by
4.7k points