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

Name some of the examples of COBOl 11?

0 Answers   CSC,


Give some advantages of REDEFINES clause?

2 Answers   Syntel,


what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.

5 Answers  


What is Redefines clause?

8 Answers  


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  






What are ISOLATION LEVELS? Where do we need to specify them?

3 Answers   EXL,


What is the use of EVALUATE statement?

4 Answers   Tesco,


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.

10 Answers   IBM,


what is S04E error in jcl?

11 Answers   IBM, L&T,


What is the default value of DISP for temp datasets

5 Answers   IBM,


Categories