223k views
4 votes
Key

Task
Decision
N=
Input()
Start
Start and end
Direction of flow
A =
Input()
N = 15
A = 10
1
TRUE
Is N> AZ
Output N
FALSE
WHAT IS THE OUTPUT ?
Output a
End
Key

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

1 Answer

4 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 Denis Gorodetskiy
by
6.0k points