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

Answers were Sorted based on User's Feedback



A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ..

Answer / guest

c has to be 57

Is This Answer Correct ?    1 Yes 0 No

A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ..

Answer / sachin

C Should be 57.

Is This Answer Correct ?    1 Yes 0 No

A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ..

Answer / maveric

can anyone explain this properly.?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

0 Answers  


hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?

1 Answers  


01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2

9 Answers   HSBC,


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,


How do u know what version of cobol u are using?

3 Answers  






what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?

2 Answers   Satyam,


COMP field occupy ?

2 Answers  


Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.

3 Answers  


Please let me know at which Scenarios we will go for STATIC call or DYNAMIC

3 Answers   IBM,


how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


How will you find the currepted records in a file

2 Answers  


Categories