+ 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
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);
}
+ 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.
0
s
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