given the following:
77 A PIC 9V9 VALUE 9.5
77 B PIC 9 VALUE 9.
77 C PIC V9 VALUE 0.8
77 D PIC 9
77 E PIC 9
77 F PIC 9V999
what are the contenta of D E nad F after the following
statements are
executed:
COMPUTE F ROUNDED=A+C/B
MULTIPLY A BY C GIVING E
ADD B C A GIVING D ROUNDED
a.F=9.589 E=8 D=1
b.F=9.589 E=8 D=9
c.F=9.589 E=7 D=9
d.F=9.589 E=7 D=1
Answer Posted / sinha
c is the answer
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Name some of the examples of COBOl 11?
What is amode(24)?
example for sub strings ? and refernce modifications whit output pls
What is inspect in cobol ?
What are the different rules of SORT operation?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is redefines clause in COBOL?
how do you reference the variable unblock file formats from cobol programs
How do get the result of your program directly on your pc?
What rules are to be followed while using the corresponding options?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
State the various causes of s0c1, s0c5 and s0c7.
) How do u handle errors in BMS macro
Write a program to explain size error.
What is the difference between PIC 9.99 and PIC9v99?