Computer Science, asked by BLUSHINGGIRL80, 4 months ago

find the numeric variable ​

Attachments:

Answers

Answered by aishwaryaakannan
0

Answer:

z=6

r=8

t=32

s=40

Explanation:

if right mark me as brainliest

Answered by anindyaadhikari13
0

Required Answer:-

Given C∅de:

Y = 30

Z = Y/5

R = Z + 2

T = R * 4

S = T + R

PRINT S

END

To Find:

  • The output (Language: QBASIC)

Output:

  • 40

Solution:

Given that,

→ Y = 30

Calculating Z,

→ Z = Y/5

→ Z = 30/5

→ Z = 6

Calculating R,

→ R = Z + 2

→ R = 6 + 2

→ R = 8

Calculating T,

→ T = R * 4

→ T = 8 * 4

→ T = 32

Calculating S,

→ S = T + R

→ S = 32 + 8

→ S = 40

→ So, S is displayed on the screen.

→ Therefore, output: 40

→ (Program Finished)

•••♪

Similar questions