1.Write a Bare Bones program that places a 1 in the variable Z if the variable X is less than or equal to the variable Y, and places a 0 in the variable Z otherwise.
2.Write a Bare Bones program that places the Xth power of 2 in the variable Z.
3.In each of the following cases write a program sequence in Bare Bones that performs the
indicated activity:
a. Assign 0 to Z if the value of X is even; otherwise assign 1 to Z.
b. Calculate the sum of the integers from 0 to X.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here