Hello, I am new to Csharp and programming in general, and i have a quick question.
I want to say if "x" is greater than 50% of "y" . I wonder if the below is right.
if ( x > 50% y)
{
Console.WriteLine("something");
}
Thank you in advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Oct 2, 2018, 5:12 AM
Omar BahaaPosted Oct 2, 2018, 6:03 AM