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 |
How to declare the pull button in AS/400..
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
Can a indexed file be accessed in arrival sequence in RPG?
Delete FileName at first statement in RPG.
what is plat file?
3 members in a databasefile .how to read records from all the members?????????
What is I90(Insure 90)?
1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?
Why did we give STRSRVJOB while debugging batch program
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
are there any useful c runtime apis that I can call from rpg iv?
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?