Consider the follwoing IF condition:IF A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25 (a) 27 (b) 57 (c) 67(d) none

This question is related to TCS Interview

Showing Answers 1 - 2 of 2 Answers

the answer is a. 27
in the first if else statement the condition fulfills and it will move 57 to C and then gradually going to the 2nd loop the condition again fulfills and then it will replace the previously stored 57 and replace it by 27 as per the condition of the 2nd loop.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions