factorization of integers

Thread Solved

Join Date: Oct 2009
Posts: 3
Reputation: aalice is an unknown quantity at this point 
Solved Threads: 0
aalice aalice is offline Offline
Newbie Poster

factorization of integers

 
0
  #1
33 Days Ago
In this assignment you to implement a short C program that works with factorization of integers.
You will write a C program that computes and prints out the sum of all natural numbers below
100,000 that are multiples of 3,5 or 7.
In Detail
If you are asked to sum all the natural numbers below 20 which are multiples of 3,5 or 7, it’s easy:
The answer is 99 (that is, 3+5+7+9+10+12+14+15+18). To compute this of course, we
enumerated all the natural numbers up to 20 and added to the sum (which starts out at zero),
only those which are multiples of one of the numbers requested.
In this assignment, you will do the above, but for all such numbers less than 100,000.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,568
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 196
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso
 
0
  #2
33 Days Ago
Nobody is going to do your homework for you. You will only receive help here if you show effort on your assignment.
Out.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC