Ask Question

Given the following code segment, int x = 50; int y = 15; int z = x / y; what is the value assigned to z?

+5
Answers (1)
  1. 21 March, 03:36
    0
    Z would equal

    10 over 3

    3.3 repeated

    and 3 (as a whole) 1 over 3 All are answers, just as exact form, decimal, and mixed number form
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Given the following code segment, int x = 50; int y = 15; int z = x / y; what is the value assigned to z? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers