Given the code segment below, indicate the output for the following initial values of (x) and (y)

Question:

Given the code segment below, indicate the output for the following initial values of \(x\) and \(y\) :

image text in transcribed

A. What is the output if the integer variable \(x\) contains 10 and \(y\) contains -15 ?
B. What is the output if the integer variable \(\mathrm{x}\) contains 100 and \(\mathrm{y}\) contains 20 ?
C. What is the output if the integer variable \(x\) contains 200 and \(y\) contains -100 ?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: