paint-brush
Display a Number's Prime Digitsby@mayankvikash
718 reads
718 reads

Display a Number's Prime Digits

by Mayank Vikash3mSeptember 21st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Mayank Vikash

Mayank Vikash

@mayankvikash

Student with interest in tech

Learn More
LEARN MORE ABOUT @MAYANKVIKASH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Mayank Vikash HackerNoon profile picture
Mayank Vikash@mayankvikash
Student with interest in tech

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Joyk
Coffee-web
Allella
Lizedin