wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question



The given flowchart will print if the ascending order of a,b,c is c,b,a?

A
a
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
b
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
c
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Stop
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A a
Given, c<b<a
In the first decision flow, a>b is true. So, it will move to right.

Then a>c is true. So, it will again move to right.

Then, it will print a and then process terminates.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Multiplication of Integers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon