What will be the value of x when the following segment is executed? int x =10, y = 15; x = (x < y)? (y + x) : (y − x);
Answers
SP= ₹750
SP= ₹750Loss= 10%
SP= ₹750Loss= 10%CP = 100/100-L% ×SP
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP= 100+5/100 ×833
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP= 100+5/100 ×833=105/100×833SP= ₹750
SP= ₹750Loss= 10%
SP= ₹750Loss= 10%CP = 100/100-L% ×SP
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP= 100+5/100 ×833
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP= 100+5/100 ×833=105/100×833
SP= ₹750Loss= 10%CP = 100/100-L% ×SP= 100/100-10 ×750= 100/90 ×750= ₹833.34Gain= 5%SP= 100+G%/100 ×CP= 100+5/100 ×833=105/100×833= ₹875