Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

if exercises c#

if (a > 5)
{
    Console.WriteLine("The number `a` is bigger than 5");
}
else
{
    Console.WriteLine("The number `a` is smaller or equal than 5");
}
Source by csharp-book.softuni.org #
 
PREVIOUS NEXT
Tagged: #exercises
ADD COMMENT
Topic
Name
4+4 =