Prime number


Last updated: 8/23/2020 Difficulty: Easy

Write a program in C# which asks the user for an integer number and answers if it is a prime number or not.

Input

7

Output

Is prime

Solution

Flow controls C

4 / 8

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