C# program to check the given number is positive or negative
Program.cs
Output
kodingwindow@kw:~/csharp$ dotnet run ——————————————————————————————————————————— Program to check the given number is +ve/-ve ——————————————————————————————————————————— Enter a number 0 Entered number is zero ——————————————————————————————————————————— kodingwindow@kw:~/csharp$
What Next?
C# program to demonstrate the use of goto statement
C# program to demonstrate the use of break and continue statements
C# Loops
Advertisement