Questions


October 2022 1 3 Report
Analyze and answer the 2 problems using conditional statement

1. if originally x=2, y=3, and z=5, what is the value of x, y, and z after executing the following code



If (x+1=y) Then

y=y+1

Else x+=1

End If



2. if originally x=0, y=0, and z=1, what is the value of x, y, and z after executing the following code



If (x) Then

x-=1

y=x+2

Else: x+=1

End if

pehelpppp

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.