1. Course
  2. Data types B
  3. Product of prime factors

Product of prime factors


Last updated: 8/23/2020 Difficulty: Intermediate

Create a C# program that asks the user for an integer (x) and displays the product of its prime factors.

Input

  1. 60

Output

  1. 2x2x3x5x1

Solution

Data types B

4 / 7

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.