Question about Microsoft Computers & Internet

# Writing the program in c language for finding the factorial of500

The out put should be totally in integers with out and exponential value

Posted by on

• Level 2:

An expert who has achieved level 2 by getting 100 points

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Sniper:

An expert who has posted more than 50 answers, of which 90% or more were rated as helpful.

• Expert

If it's an int type it's already integer without exponential for examle:
void main()
{
int num=5;
num/=2;
clrscr();
printf("%d",num);
}
so the out put is 2 and no 2.5 or:

for(int i=0; i<num; i++)

so 'i' is the integer part of num.

Posted on Jul 11, 2009

• Vlad Pankov Jul 11, 2009

If you save this number to int type he will return only integers by round it, or try:

for(int i=0; i
now 'i' is the integer part.

×

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### I have a psp e1000 with a sandisk pro duo 4GB I bougth Piratews of the caribbean dead man's chest before the game starts its says"game requires 256KB of space to save. This memory stick only has -299840KB...

The memory-stick is too large to be recognized by the software inside the PSP. Find a 2GB or 1GB memory-stick.

The binary value '0111 1111 1111 1111 1111 1111 1111 1111'
is +(2**31)-1. Add '1' to it, and the binary value '1000 0000 0000 0000 0000 0000 0000 0000'
is either +(2**31) or (-1)*zero, depending on whether the 32-bits are interpreted as either "unsigned-32-bit" integer or a "signed-31-bit" integer.

So, the PSP software cannot handle an integer value that does not fit into a 32-bit word.

Mar 03, 2014 | SanDisk Electronics - Others

Tip

### Tweak Your Firefox for Super Fast Web Browsing

Try these easy Firefox tweaks and you’ll see that you’re surfing the Internet from 3 to 30 times faster!

* In the Filter bar type network.http.pipelining. Then, double-click on this line under Preference Name in order to change the value from False to True.

* In the Filter bar type network.http.pipelining.maxrequests. Then, double-click on this line under Preference Name and change the value from 4 to a higher number anywhere from 10 to 30. I set mine to 30.

* In the Filter bar type network.http.proxy.pipelining. Then, double-click on this line under Preference Name in order to change the value from False to True.

* In the Filter bar type network.dns.disableIPv6. Then, double-click on this line under Preference Name in order to change the value from False to True.

* In the Filter bar type plugin.expose_full_path. Then, double-click on this line under Preference Name in order to change the value from False to True.

* In the Filter bar type network.protocol-handler.external.ms-help. Now, you are going to create a new Preference Name with an Integer Value. To do this, right-click on this line under Preference Name and select New, then Integer. In the New Integer value box type in nglayout.initialpaint.delay and click OK. Then in the Enter Integer value box type 0 (that’s a zero) and click OK.

* In the Filter bar again type network.protocol-handler.external.ms-help. Now, you are going to create another new Preference Name with an Integer Value. To do this, right-click on this line under Preference Name and select New, then Integer. In the New Integer value box type in content.notify.backoffcount and click OK. Then in the Enter Integer value box type 5 and click OK.

* In the Filter bar again type network.protocol-handler.external.ms-help. Now, you are going to create another new Preference Name with an Integer Value. To do this, right-click on this line under Preference Name and select New, then Integer. In the New Integer value box type in ui.submenuDelay and click OK. Then in the Enter Integer value box type 0 (that’s a zero) and click OK.

01010101 G.I.G hacker 01010101
www.gighackers.blogspot.com

on Feb 12, 2010 | Computers & Internet

### Having troube with my FOREIGN KEYs on two tables.

I suggest you visit this website you will get the solution, I tried and it worked.

http://bit.ly/1bUVmuW

Nov 25, 2013 | Computers & Internet

### How do you graph a greatest integer problem

To graph a greatest integer function, follow these steps:
1.) Press Y= 2.) Press MATH, then scroll to the right one column and select "int(" 3.) Enter your function inside of the parentheses, and make sure to put a closing parentheses at the end of the function you are inputting. 4.) After you have closed the parentheses to the "int(" command, add 1 to the end of the equation. This is because the "int(" command tells the calculator to take the lowest integer of the value inside of it. If you add one, then instead of .68 becoming 0, it becomes 1, and 1.724 becomes 2, etc.

Feb 27, 2011 | Texas Instruments TI-83 Plus Calculator

### How do I get the function y=e square? and where do i get a manual for this calculator? Its a Casio FX-9750GAPLUS

To get the value of "e" the base of the natural logarithm you calculate the value of the exponential e^x function for x=1, in other words
value of "e"=e^(1)=2.718281828

To get the square you can use (e(^1))^2, but that is clumsy.
You can use the rule about exponential functions (e^a)*e^b)=e^(a+b)
Thus (e^1)*(e^1)=e^(1+1)=e^2

To access the exponential function press [SHIFT][LN]
and the square of "e" is obtained by pressing
[SHIFT][LN] 2 [ENTER]
The result is 7.389056099.

Feb 05, 2010 | Casio FX-9750GPlus Calculator

### Is it possible to get euler's number on this calculator? I am a college algebra student starting exponential functions and need euler's number to computer continuous compound interest. Thank you.

Hello,
There is no key dedicated to e, the base of natural logarithm, the same as there is for pi. However you can find it as the VALUE of the exponential function e^(x) for x=1. To obtain the VALUE of e you press [SHIFT] [ln] to access e^x, enter 1 and press [EXE].

Thus
[SHIFT][LN]1 [EXE] gives 2.718281828.

If you need that numerical VALUE often you may want to store it into a variable, say E. To do that
[SHIFT][LN]1 [-->] [APLHA] E [EXE]

From experience, I know that it is not the VALUE of e that you need but the symbol e to define the exponential function. If you press [SHIFT][LN] you get a syntax error. You can never see e in a multiplication, addition, or other arithmetic operation.

In this calculator, the e is first and foremost the symbol for the exponential function. If you need to draw the exponential function of X
you press [SHIFT][LN] X. Parentheses are not needed for simple arguments as this one, but if the exponent is a complicated expression parentheses are needed.
If you mean exponential of X you type [SHIFT][LN] [X,theta,T], but if you want exponential of (x-3z+ 0.5 y^2), you must enclose the argument (the object of the function) between parentheses
[SHIFT][LN] [ ( ] x-3*z+ 0.5*y [^]2 [ ) ] [EXE].

Hope it helps.

Nov 16, 2009 | Casio CFX 9850GA Plus Calculator

### I totally forgot how to do binomial pdf can you help on my TI-84

Hello,
Press the yellow [2nd] key then [VARS] (DISTR) to access the distributions. Scroll Up or down to see 0:binompdf( . Press 0 |ENTER|. The command echoes on the screen as binompdf(. Complete the command by entering the number of trials, the probability of success, and the value expected. Number of trials, and the value expected are integers.
You can also run the command giving it a sequence of expected values. In that case the sequence of expected values must be enclosed in curly brackets
Hope it helps.
binompdf ( number of trials, p, { expec_value1, expec_value2, ...} ) [ENTER]

Oct 15, 2009 | Texas Instruments TI-84 Plus Calculator

### [Stat] - Data numbers (frequency) < 1 (not integer) on TI 85 Calc

Frequencies are always integers. They indicate how many times that particular data value came up. The data values may be non-integers.

As an example, let's say you're measuring the weights of widgets. You may have 3 widgets weighing 1.1 kg, 5 widgets weighing 1.2 kg, and 2 widgets weighing 1.3 kg.

Note that the data are non-integers (1.1, 1.2, 1.3) but the frequencies are integers (3, 5, 2).

Apr 01, 2009 | Texas Instruments TI-85 Calculator

### Insertion sort

<!--StartFragment-->
Function InsertionSort(ByVal TempArray As Variant) As Variant
' Written By Louis Sutherland
' 1/25/99
' will be the sorted arrary when finishe
' d
Dim SortedList As Variant
Dim x, y As Integer
Dim NumSorted As Integer
'This Set up SortedList as an Array
SortedList = TempArray
'This zeroizes the new array

For x = 1 To UBound(SortedList)
SortedList(x) = 0
Next x
'sets the Total num counted to 1
NumSorted = 1
' Processes first element
SortedList(1) = TempArray(1)

For x = 2 To 5000
' insertion loop

For y = NumSorted To 1 Step -1
' if current value is <= then insert in
' next place

If TempArray(x) >= SortedList(y) Then
SortedList(y + 1) = TempArray(x)
'This Breaks the loop
y = 1
Exit For
Else

If y = 1 Then
SortedList(y + 1) = SortedList(y)
SortedList(y) = TempArray(x)
Exit For
Else
' save the value to the next spot
SortedList(y + 1) = SortedList(y)
End If
End If
Next y
NumSorted = NumSorted + 1
Next x
InsertionSort = SortedList
End Function

Mar 17, 2009 | Microsoft Visual Basic 6.0 for PC

### Factorial

1.In mathematics, the factorial of a non negitive integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example,
and2. Algorithm to find factorial of 6
1. Start
2. Take two variables i and j.
3. Take a constent VALUE=6.
4. Put i=1,j=1.
5. If i is less than VALUE goto 6 else goto 7
6. j=j*i and goto step 5
7. Print j value.
8. Stop.
/* Program to find factorial of 6 */

#include <stdio.h>

#define VALUE 6
int i,j;

void main()

{

j=1;

for (i=1; i<=VALUE; i++)

j=j*i;

printf("The factorial of %d is %d\n",VALUE,j);

}

Jan 19, 2009 | Computers & Internet

#### Related Topics:

47 people viewed this question

Level 3 Expert

Level 3 Expert