+ 1

I have given condition as if x>y and in console.WriteLine(x + y); the output is x + y.

given x=8 and y=7

15th Oct 2016, 10:46 AM
vbm bhaskar
vbm bhaskar - avatar
4 Answers
+ 5
Here is what you are describing. Is that what you wanted? int x = 8; int y = 7; if (x > y) { Console.WriteLine(x + y); }
15th Oct 2016, 11:48 AM
Zen
Zen - avatar
+ 2
is this a kind of joke what kind of programmer are you asking these kind of silly questions Get a book online and start practicing it.
1st Mar 2017, 12:29 AM
Dheshoju Kalyan Kumar
Dheshoju Kalyan Kumar - avatar
0
s
15th Oct 2016, 11:49 AM
vbm bhaskar
vbm bhaskar - avatar
0
if u entered more than y value the condition will become true so the loop will com inside after u can get x+y value
27th Nov 2016, 5:31 AM
sowmith pokala
sowmith pokala - avatar