Display a Number's Prime Digitsby@mayankvikash
667 reads

Display a Number's Prime Digits

tldt arrow
Read on Terminal Reader

Too Long; Didn't Read

A few days ago, I had a computer test and I got this program which you can read in the title. I don't know how I solved this that time. So, when I returned home I searched on Google for the solution but couldn't find anything. So, I tried solving that program again myself and after removing some logical errors, I finally made it. In this article, I am going to share how I made the program with you. I have to **take a number as input and print the digits which are prime**. A digit of a number is between 0-9.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Display a Number's Prime Digits
Mayank Vikash HackerNoon profile picture

@mayankvikash

Mayank Vikash

Learn More
LEARN MORE ABOUT @MAYANKVIKASH'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa