subject

What will be the values of ans, x, and y after the following statements are executed? int ans = 35, x = 50, y =50; if ( x > = y) { ans = x + 10; x -=y; } else { ans = y + 10; y += x; } a. ans = 60, x = 50, y =100 b. ans = 60, x =0, y =50 c. ans = 45, x = 50, y = 0 d. ans = 45, x = 50, y = 50

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
An atom's diameter is about 0.1 nanometer (1×10-9m), and a human hair is about 1×10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Ou listened to a song on your computer. did you use hardware or software?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
question
Computers and Technology, 25.06.2019 01:00
When a new name is registered on the internet, the process can take two hours to four hours four hours to three days two hours to two days one hour to eight hours
Answers: 1
You know the right answer?
What will be the values of ans, x, and y after the following statements are executed? int ans = 35,...
Questions
question
English, 28.10.2020 02:10
question
Mathematics, 28.10.2020 02:10
Questions on the website: 13722362