Computer Science, asked by rohit454550, 1 year ago

first = 2
second = 3
third = first * second
print first, second, third
first = first + second + third
third = second * first
print first, second, third​

Answers

Answered by AdiN05517
18

The result that the computer will calculate is (I have written the following as if I'm a computer and what I will do on reading those commands):-

"Ok boss, creating variables first, second and third.

Assigning values:

first = 2

second = 3

Calculating third = first × second

third = 6

Display output:

 \boxed{2, \: 3, \: 6}

Calculating (new) first = first + second + third

first = 2 + 3 + 6 = 11

Calculating (new) third = second × first

third = 3 × 11 = 33

Display output:

 \boxed{11, \: 3, \: 33}

Program processing complete."

Hope you found my answer helpful. Keep Smiling!

Answered by jasmanbrar1986
0

Explanation:

first = 2

second = 3

calculating third = first *second

third = 2*3=6

display output = 2,3,6

calculating new first = first + second+third

new first = 2+3+6=11

calculating new third = second * first

new third = 3*11=33

display output

11,3,33

Similar questions