|
From: Roosevelt B. <ult...@ho...> - 2001-01-18 03:07:36
|
yea...that's why i wanted to know how to start this program off and stuff...thanks >From: Jared Eckersley <ja...@vo...> >Reply-To: dev...@li... >To: dev...@li... >Subject: Re: [Dev-C++] help with program... >Date: Wed, 17 Jan 2001 13:53:56 -1000 > >Are you new to C++ ? > >At 04:55 PM 1/17/2001 +0000, you wrote: >>I have recently purchased a c++ book...and it asked to do the following >>program: >>A perfect number is a positive integer such that the sum of the proper >>divisors equals to the number. Thus, 28=1+2+4+7+14 is a perfect number. If >>the sum of the divisors is less than the number, it is deficient. If the >>sum exceeds the number, it's abundant. >>a) Write an interactive program that allows the user to enter a positive >>integer and then displays the result, indicating whether the number >>entered is perfect, deficient, or abundant. >>b) Wrtie another interactive program that allows the user to enter a >>positive integer N and then displays all perfect numbers less than or >>equal to N. >>*Program should allows the user the option of continuing or quitting* >> >>Any help would be appreciated...thanks! >>_________________________________________________________________ >>Get your FREE download of MSN Explorer at http://explorer.msn.com >> >> >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |