954,480 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

factorial series

a 'c' program to find the factorial series for n values.............

kavitha1591
Newbie Poster
2 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

c program to find factorial series for n values

kavitha1591
Newbie Poster
2 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 
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/

:)

tux4life
Nearly a Posting Maven
2,350 posts since Feb 2009
Reputation Points: 2,134
Solved Threads: 243
 

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

siddhant3s
Practically a Posting Shark
816 posts since Oct 2007
Reputation Points: 1,486
Solved Threads: 140
 

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 !!! :)

csurfer
Posting Pro
568 posts since Jan 2009
Reputation Points: 485
Solved Threads: 88
 

#include
#include

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();
}

nirav99
Light Poster
29 posts since Jun 2009
Reputation Points: -10
Solved Threads: 1
 
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).

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 

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 $$.

jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
 
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 :icon_surprised:

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 

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 :D

jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
 

More likely environment variables that can't point to two different places on the filesystem at the same time :) I'm Borland from ages past, but found my self in an MS shop using VS, which I hadn't touched since a very painful and frustrating bout with Version 1.0. The thing actually works now, and fairly well, if you can excuse the MS penchant for trying to make their IDEs predict your next move and do it for you, thus forcing you to spend a fair amount of time undoing the damage the IDE has done to your code while it was 'helping'.

YrthWyndAndFyre
Newbie Poster
7 posts since Jul 2009
Reputation Points: 24
Solved Threads: 1
 

Borland from ages past, as in late 80's - mid 90's? i hear ya, but c compilers have changed since then, while borland has all but shit the bed.

but yeah, Microsoft is famous for making their stuff, um, "helpful" :icon_rolleyes: thats why i prefer to stay with GCC. (except at work, i have to use National Instrument's peculiar C libraries....)

jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
 

I just downloaded Code blocks today since alot of people here said its cool etc I also have also msv8 it have everything msv8 has + it opens faster and got gcc compiler so I vote code blocks for msv8 you need like fast computer i got alrdy 3 mb of ram at my laptop and it still opens slow

MrNoob
Posting Whiz in Training
218 posts since May 2009
Reputation Points: 34
Solved Threads: 7
 
a 'c' program to find the factorial series for n values.............

i donnow know

rimmmeee
Newbie Poster
1 post since Nov 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You