"supersensitive_ad" <[EMAIL PROTECTED]> wrote: > Steve Searle <steve@> wrote: > > supersensitive_ad scrawled: > > > > > Hi to everyone! I m a new user of this informative > > > group.
Did you read the welcome message you would have received when you joined? There is a copy in the C-Prog Files section. In part, it says... If you are enrolled in a class and want homework help, c-prog members prefer that you mention the specific difficulty you have with the assignment, along with the relevant C/C++ code you have so far. Posting assignments with the expectation that others will do them for you will not get your homework done. Before asking a question, run a few Google searches first. Members are much more willing to help people who show that they are putting forth effort. The principle applies even if you are not actually enrolled in a class. > > > I want a program whose description is below: > > > A positive integer is entered through the > > > keyboard. A function is written in the program to > > > obtain the prime factors of the number > > > "RECURSIVELY" ! For example, the prime factors of > > > 24 are 2,2,2,3 while those of 35 are 7 and 5 or > > > those of 121 are 11 and 11. > > > > > > Anybody who knows about this, please help me in > > > this as soon as possible! Thank You! > > > > Shouldn't you do your own homework? > > I dont know wht u r tryin to say He's saying you should do your own homework. I agree with him. > but i m asking for a program for finding Prime Factors > of a number "RECURSIVELY"! Please help me in We will gladly help you, but only if you demonstrate that you have made some attempt to solve your homework on your own. For instance, it is trivial to find simple algorithms and code that factorise small integers. You need only post your attempt to modify such code to be recursive, and we will assist. -- Peter
