Conditional operator - Tutorial C# SharpTutorial C# Sharp
Tutorial C# Sharp4,85581245
Conditional operator - Tutorial C# Sharp
Create a program which assigns a integer variable "amountOfPositives" the value 0, 1 or 2, depending on the values of two numbers a & b (entered by the user).
Do it in two different ways: first using "if" and then using the "conditional operator" (?)
CookiesThis site uses Google cookies to provide its services, to personalize advertisements and to analyze traffic. Google receives information about your use of this website. More information in... Privacy and Terms of Google.