1. Course
  2. Flow controls A
  3. Positive and negative

Positive and negative


Last updated: 8/22/2020 Difficulty: Easy

Write a C# program that requests a number (x) and answers if it is positive or negative.

Input

  1. 5

Output

  1. Positive

Solution

Flow controls A

3 / 9

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising


CookieOwn and third party cookies to improve our services. If you go on surfing, we will consider you accepting its use.