Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SOLVE USING EXCEL Background: . Assume there is a macro (or a sub procedure) called MainProgram() .There are 5 variables P, Q, R, X and

SOLVE USING EXCEL

image text in transcribedimage text in transcribed

Background: . Assume there is a macro (or a sub procedure) called MainProgram() .There are 5 variables P, Q, R, X and Y in this macro. . Variables P, Q, R are assigned initial values (Ex: P-10, Q-15 and R-20). When the MainProgram() macro is run, values of these 5 variables P,Q,R,X and Y will change accordingly. You are asked to fill the values for all five variables (P.Q,R.X and Y) at 4 different points in time below. Note: If the value of the variable is "zero" then you must type "O" (without the double quotes, ofcourse). If a variable does not take any value at any given point, then type "BLANK" (without the double quotes). It is important to note Sub MainProgram ( Dim P, Q, R as integer P=10 Q-15 R=20 Write down the values of the 5 variables at this point: X- Q-R Y=P+0 Write down the values of the fo 5 variables at this point P=X+5 R=X+Y-10 "Write doun the vahues of the following 5 variables at this R=SQR M * 2 "Write doun the values of the following 5 variables at this End Sub

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago