Title: Suppose the variables X and Y in the following Bare Bones program have the value Post by: DJ on May 9, 2014 Suppose the variables X and Y in the following Bare Bones program have the values 3 and 2, respectively, when execution begins.
clear Z while X not 0: while Y not 0: decr Y incr Z incr Z decr X What will be the value of Z when the program terminates? A. 0 B. 1 C. 5 D. 6 This is for my computing programming course Title: Re: Suppose the variables X and Y in the following Bare Bones program have the value Post by: kode on May 28, 2014 CC
Title: Re: Suppose the variables X and Y in the following Bare Bones program have the value Post by: DJ on Jun 11, 2014 Thanks for the homework help.
|