DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   factorial series (http://www.daniweb.com/forums/thread200524.html)

kavitha1591 Jun 29th, 2009 2:10 pm
factorial series
 
a 'c' program to find the factorial series for n values.............

kavitha1591 Jun 29th, 2009 2:11 pm
Re: factorial series
 
c program to find factorial series for n values

tux4life Jun 29th, 2009 2:29 pm
Re: factorial series
 
Quote:

Originally Posted by kavitha1591 (Post 903310)
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/

:)

siddhant3s Jun 29th, 2009 5:04 pm
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

csurfer Jun 29th, 2009 6:06 pm
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 !!! :)

nirav99 Jun 30th, 2009 5:19 am
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();
}

niek_e Jun 30th, 2009 11:08 am
Re: factorial series
 
Quote:

Originally Posted by nirav99 (Post 903809)
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).

jephthah Jun 30th, 2009 11:55 am
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 $$.

niek_e Jun 30th, 2009 12:00 pm
Re: factorial series
 
Quote:

Originally Posted by jephthah (Post 904158)
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:

jephthah Jun 30th, 2009 12:03 pm
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 :D


All times are GMT -4. The time now is 1:28 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC