how to make the addition of two digits in if statement c#? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to make the addition of two digits in if statement c#?

plz help me in this code

2nd Feb 2017, 6:50 PM
Abeer Sajid
2 Answers
0
if ((a-b) || (b-a)) ... something like that, you need to specify what you need to do with some more detail pls as there are a few approaches you can use.
2nd Feb 2017, 7:32 PM
Andre van Rensburg
Andre van Rensburg - avatar
0
Let me give you a simple syntax int x =5; int y = 10; if((x + y) >= 15) { }
22nd Feb 2017, 7:56 PM
Alkassim Shuaibu Babangida
Alkassim Shuaibu Babangida - avatar