i am trying to make a program that displays to the screen the prime factors of a given number. i have it all the way to the prime number checking i dont quite understand how to extract the prime numbers any help would be much appreciated
fopah
0
Newbie Poster
Recommended Answers
Jump to Posti am trying to make a program that displays to the screen the prime factors of a given number. i have it all the way to the prime number checking i dont quite understand how to extract the prime numbers any help would be much appreciated
I'm not sure I …
Jump to PostHa ha! There are so many ways to do it. The easiest process is to try divide the number with every number less than (or half of it) and see if it has the remainder 0. If it does then check if the number u r dividing with is a …
All 5 Replies
murschech
11
Junior Poster in Training
harshchandra
-3
Junior Poster in Training
harshchandra
-3
Junior Poster in Training
fopah
0
Newbie Poster
Asif_NSU
25
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.