1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Salsk061 [2.6K]
3 years ago
15

What will be displayed after the following statements have been executed? int x = 15, y = 26, z = 32; x = x + 12; y = y/6; z -=

14; System.out.println (x = " + x + ", y = " + y + ", z = " +z);"
Computers and Technology
1 answer:
Alex_Xolod [135]3 years ago
5 0

Answer:

Following are the output of the statements

x = 27, y = 4, z = 18.

Explanation:

Following is the description of the statements.

  • Initially, the variable x is initialized with 15,y is initialized with 26 and z is  initialized with 32
  • The statement x=x+12 means adding the value of variable x by 12 and store in "x" variable so x=15+12=27
  • The y = y/6; statement gives the result 4 because the "/" operator gives the quotient.So 26/6 gives 4.
  • z -= 14; statement gives the result 18 because it subtracts the value of z by 14 and stores in the "z" variable.
  • Finally the System.out.println () method print the value of "x","y" and "z" variable
You might be interested in
Virus warning don’t go on bit l y links it’s a virus
Alinara [238K]

Answer:

tysm

Explanation:

4 0
3 years ago
Read 2 more answers
Jim, the IT director, is able to complete IT management task very well but is usually two weeks late in submitting results compa
oee [108]

Answer:Effective but not efficient

Explanation:

Jim is effective because he was able to complete the IT tasks well but he is not efficient because he didn't submit the result on time because being efficient includes management of time.

5 0
3 years ago
Which of the following would you not see on a windows 10 start menu?
mixas84 [53]
Task view is the option that you would not see on a Windows 10 Start menu, whereas if you click the Windows button, you can see tiles with different applications, all of your apps in the form of tiles you can distribute according to your own taste, and power button where you can choose whether you want to shut down your computer, put it to sleep, or log out.
4 0
3 years ago
What is the main function of the arithmetic logic unit (ALU)?
elena-14-01-66 [18.8K]
The answer is performing arithmetic and logical operations
7 0
3 years ago
Two technicians are discussing lung protection in the shop. Technician A says that respiratory-protection devices can prevent yo
Sveta_85 [38]
The correct answer is Technician A ONLY. I had this on my test, so im sure of my answer!
5 0
3 years ago
Read 2 more answers
Other questions:
  • Look at the following form. Which input method is the form using to receive the user's favorite activity? What is your favorite
    12·2 answers
  • Which of the following controls will provide an area in the form for the user to enter a name? a. button b. label c. text box d.
    8·1 answer
  • Creating an accurate inventory is a challenge, given the speed at which data files are created, deleted, moved, and changed. It
    12·1 answer
  • What are specific and relevant terms that will help you locate information using an internet search engine?
    10·1 answer
  • Whats an MAR? lolz better not take my points #bonkers
    12·2 answers
  • How is an interpreter different from a compiler?
    9·2 answers
  • QueSUUN TU
    15·1 answer
  • I am a non-volatile type of built-in memory. I store my contents long-term. My job is to store critical programs that the comput
    14·1 answer
  • Blockchain is often associated with Bitcoin and the financial services industry. However, it is applicable to almost every indus
    13·1 answer
  • __________ is a computer tool for evaluating the risk of exposure to wildfires.
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!