Given the following code, what is the value of RESULT?
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++
D RESULT S 5 0
C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
Answers were Sorted based on User's Feedback
Answer / anuj
Agreed.. Should be 32.. see below
1. RESULT = (2 + 3 * 2) ** 2 / 2
2. RESULT = (8) ** 2 / 2
3. RESULT = 64 / 2 = 32.
Thanks.
| Is This Answer Correct ? | 18 Yes | 0 No |
I know chain keyword retreive records randomly but how chain keyword exactly works internally????
How to print output from openquery in as400 ?
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
Need a sql query: retrive all duplicate records in table
how can an indexed file be used as arrival sequence in RPG?
How can we change element of compile time array?Can we do so
How do you find whether a record is locked or not?
How do you call procedures in ILE?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
are there any useful c runtime apis that I can call from rpg iv?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?