Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given: 01 A PIC 999V999 VALUE 2. 01 B PIC 999 VALUE 22. 01 C PIC 99V99 VALUE 4. 01 X PIC 99V9 VALUE 0.
Given: 01 A PIC 999V999 VALUE 2. 01 B PIC 999 VALUE 22. 01 C PIC 99V99 VALUE 4. 01 X PIC 99V9 VALUE 0. What is the value of X after each of the following statements? A. COMPUTE X = B / 4 + A ** 3. B. COMPUTE X = (25 + A) / 2 - C. C. COMPUTE X ROUNDED = B + 7.39 + A. E. DIVIDE B BY C GIVING A REMAINDER X. GIVEN: 01 A PIC 99 VALUE 30. 01 B PIC 99 VALUE 5. 01 X PIC 99 VALUE 0. ............ COMPUTE X = A * B ON SIZE ERROR DISPLAY 'ERROR'. ADD B TO X. DISPLAY X. F. DISPLAY THE OUTPUT FOR THE ABOVE SEGMENT: G. CONSTRUCT ONE MOVE STATEMENT TO INITAILIZE THE DATA-NAMES Unit-in, Price-in, Cost-in TO THE NUMERIC VALUE OF ZERO.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started