943,987 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2887
  • C RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 29th, 2009
0

factorial series

Expand Post »
a 'c' program to find the factorial series for n values.............
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kavitha1591 is offline Offline
2 posts
since Jun 2009
Jun 29th, 2009
0

Re: factorial series

c program to find factorial series for n values
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kavitha1591 is offline Offline
2 posts
since Jun 2009
Jun 29th, 2009
0

Re: factorial series

c program to find factorial series for n values
First:
Why do you post two times the same question?
(your problem won't be answered quicker or so)

Second:
We are not to make you such a program, you can easily put it together yourself by using a Big Number library such as GNU MP Bignum Library, which can be found here:
http://gmplib.org/

Last edited by tux4life; Jun 29th, 2009 at 2:31 pm.
Reputation Points: 2125
Solved Threads: 243
Postaholic
tux4life is offline Offline
2,105 posts
since Feb 2009
Jun 29th, 2009
0

Re: factorial series

Aladdin's Magic lamp.
2 Burgers, 1 Large pizza with extra cheese and a diet coke.

Sh*t, nothing is working. This website is junk
Reputation Points: 1486
Solved Threads: 140
Practically a Posting Shark
siddhant3s is offline Offline
816 posts
since Oct 2007
Jun 29th, 2009
0

Re: factorial series

Woooosh......!!! Don't worry Sid you'll get the stuff you need...the OP will pay you with these for writing out her program if she could get away from all our flaming !!!
Reputation Points: 485
Solved Threads: 88
Posting Pro
csurfer is offline Offline
564 posts
since Jan 2009
Jun 30th, 2009
-1

Re: factorial series

#include<stdio.h>
#include<conio.h>

void main()
{
int x;
double i,f=1;
clrscr();
printf("Enter Number:-- ");
scanf("%d",&x);
printf("\n");

for(i=1;i<=x;i++)
{
f=f*i;
printf(" %0.0lf",f);
}

getch();
}
Reputation Points: -10
Solved Threads: 1
Light Poster
nirav99 is offline Offline
28 posts
since Jun 2009
Jun 30th, 2009
0

Re: factorial series

Click to Expand / Collapse  Quote originally posted by nirav99 ...
Brainvommit code
Here's a tip: read the rulebook, especially the parts about code-tags and posting complete answers.

And although you might think that your Turbo-C++ compiler is the best thing ever, in the real world it horribly outdated. You should really upgrade to some new compiler. Here are some tips. My personal favorite is Visual Studio C++ Express (free for download).
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006
Jun 30th, 2009
0

Re: factorial series

even better, IMO, is Code::Blocks

because, unlike Visual C++, CodeBlocks is already a full-featured IDE and debugger from the start, and won't try to get you to buy an upgrade for $$.
Reputation Points: 2143
Solved Threads: 178
Posting Maven
jephthah is offline Offline
2,567 posts
since Feb 2008
Jun 30th, 2009
1

Re: factorial series

Click to Expand / Collapse  Quote originally posted by jephthah ...
unlike Visual C++, CodeBlocks is already a full-featured IDE and debugger from the start, and won't try to get you to buy an upgrade for $$.
What are you talking about? It never asked me anything? The only thing that I can't use is MFC ( on which I spit ; bleggh ). The debugger is the best I've ever used, although in all fairness: I haven't used code::blocks for a very long time.

I always get the idea that people don't like VS just because it's microsoft. If I see a good program, I don't really care which company made it
Last edited by Nick Evan; Jun 30th, 2009 at 12:02 pm.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006
Jun 30th, 2009
1

Re: factorial series

well, in the spirit of full disclosure, i must admit i haven't used Visual C++ Express in a long time either.

I remember begin frustrated that the debugger didnt work and the installation conflicted with my MinGW compiler. ehh, for all i know the root issue may have been a variant of PEBCAK
Reputation Points: 2143
Solved Threads: 178
Posting Maven
jephthah is offline Offline
2,567 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Storing Received message in a queue dynamically
Next Thread in C Forum Timeline: Rot 13 Help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC