What will be the values of ans, x, and y after the following statements are executed?
in...
Computers and Technology, 11.02.2020 19:45 gobbler80
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 + 20;
x = x + y;
}
else
{
ans = y + 10;
y= y + x;
}
a. ans = 60, x = 50, y =100
b. ans = 70, x =100, y =50
c. ans = 45, x = 50, y = 0
d. ans = 45, x = 50, y = 50
Answers: 2
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
Computers and Technology, 23.06.2019 01:00
Complete the sentence about a presentation delivery method
Answers: 2
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
Computers and Technology, 24.06.2019 09:00
Why might you chose to crest a function resume
Answers: 1
Mathematics, 13.10.2020 06:01
SAT, 13.10.2020 06:01
Mathematics, 13.10.2020 06:01
Health, 13.10.2020 06:01
Chemistry, 13.10.2020 06:01
Mathematics, 13.10.2020 06:01
Mathematics, 13.10.2020 06:01
Mathematics, 13.10.2020 06:01