Question about Operating Systems

1 Answer

Factorial 1.definition 2.sample algrithm 3.sample program (simple c comp)

Posted by on

  • jaypee_manin Jan 22, 2009

    thanks

  • abhinav07
    abhinav07 May 11, 2010

    hello sir,

    sory 2 say bt i donot understand ur prob . be brief

    Abhinav


×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Governor:

    An expert whose answer got voted for 20 times.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 3 Answers

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,
factorial - c018852104089c3b86ad5bba9e9223f9.png 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);

}

Posted on Jan 21, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that 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.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Why are Comp 'Lock-Ups' showing Error DCOM 1053, DCOM 1068 or DCOM 1084 every time it happens?


DCOM 1053 link to possible solution: http://support.microsoft.com/kb/839174
This link is for the other two...http://support.microsoft.com/kb/929135
however, in reading some of the solutions...have her disable her antivirus program and see if that clears all of the problems...if it does, then delete it and do a fresh install of said product. If that doesn't fix it...then do what the articles suggest should be done. It sounds like there's a program interfering with the processes. Try the antivirus disable thing and see what happens, let me know. hope this helps you!

Jun 11, 2012 | Microsoft Windows Vista Home Basic with...

Tip

It's very easy and safe to reset the forgotten windows password. You need to...


<span>To log on to a computer as the administrator to reset a password, try the following steps. <ol> <li>Log on as an administrator. <ol> <li>Restart the computer.</li> <li>Press CTRL+ALT+DELETE two times, and then type the name of the administrator user account.<br /><br /><b>Note</b> If you do not know any other administrator user account, try to type <span>Adminstrator</span> in the User name</b> box.</li> <li>In the Password</b> box, type the administrator password, and then click OK</b>. <br /><br /><b>Note</b> If you do not know the administrator password, leave it blank, and then click OK</b>.</li></ol></li> <li>Reset the password. <ol> <li>Click Start</b>, and then click Run</b>.</li> <li>Type <span>control userpasswords2</span>, and then click OK</b>.</li> <li>On the Users</b> tab, click the name of the user account that you want to reset the password for, and then click Reset Password</b>.</li> <li>Type a new password in the New password</b> box, and then type the password again in the Confirm new password</b> box, and then click OK</b>.</li> <li>Restart the computer, and then try to log on to Windows XP again.</li></ol></li></ol></span>

on Dec 02, 2010 | Operating Systems

Tip

1) Are there any programs for Ubuntu (type: DAEMON Tools, Alcohol or Virtual...


1) Are there any programs for Ubuntu
(type: DAEMON Tools, Alcohol or Virtual Disk in Windows)
that will allow me to easily handle my: ISO, IMG, BIN, MDF,NRG , Image files?

2) I want easy to install such a program and immediately using it?

3) Gmount-iso and Furius ISO Mount provide everything we need.
We'll add it to Ubuntu in the following way:

(1.A)Gmount-iso:


b3e3685.png

1) System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:
gmountiso

2) Run Gmount-iso
Applications-> System Tools> Gmount-iso

(1.B) Furius ISO Mount:

c8fda3a.png

1) System> Administration> Synaptic Package Manager
When you open it, you do Reload, Search and install:
furiusisomount

2) Run Furius ISO Mount
Applications-> System Tools> Furius ISO Mount

4)You can start using your image files in a simple manner.

on Jan 14, 2010 | Operating Systems

2 Answers

I want to do a factory restore on my laptop with no cds


hi there,

You can try these steps:

  • 1

    Click "Start" menu.

  • 2

    Click "Programs."

  • 3

    Click "Acer Recovery Management."

  • 4

    Click the "Restore" button on the bottom of the dialog box that opens.

  • 5

    Click "Restore System to Factory Default."

  • 6

    Click "Yes" in the warning dialog box which asks if you wish to continue the recovery process.

  • 7

    Click "Start" to restore the computer to the default factory settings.


  • Hope this helps!

    Jul 04, 2011 | Acer Operating Systems

    1 Answer

    When scanning I get the following error internal DRS error 1500:c0:3001


    hi,
    1) go to Add/Remove Programs: Remove all HP Software.
    2) Manually search for/remove all HP program files.
    3) Run my Registry cleaner.
    4) ONLY IF YOU KNOW WHAT YOU'RE DOING : Manually search the registry via Control F function for any remaining HP registry entries.
    5) Defragment/re-install/run reg. cleaner/carefully analyze and save appropriate registry keys(see my pic's for what to definitely save).
    6) Defrag. again
    7) Test run HP Solution Center again.

    Sep 19, 2009 | Operating Systems

    Tip

    Mount CD DVD images - Ubuntu


    1) Are there any programs for Ubuntu
    (type: DAEMON Tools, Alcohol or Virtual Disk in Windows)
    that will allow me to easily handle my: ISO, IMG, BIN, MDF,NRG , Image files?

    2) I want easy to install such a program and immediately using it?

    3) Gmount-iso and Furius ISO Mount provide everything we need.
    We'll add it to Ubuntu in the following way:

    (1.A)Gmount-iso:


    b3e3685.png

    1) System> Administration> Synaptic Package Manager
    When you open it, you do Reload, Search and install:
    gmountiso

    2) Run Gmount-iso
    Applications-> System Tools> Gmount-iso

    (1.B) Furius ISO Mount:

    c8fda3a.png

    1) System> Administration> Synaptic Package Manager
    When you open it, you do Reload, Search and install:
    furiusisomount

    2) Run Furius ISO Mount
    Applications-> System Tools> Furius ISO Mount

    (1.C)You can start using your image files in a simple manner.

    on Jan 13, 2010 | Operating Systems

    1 Answer

    I need to program a calculator in vb 6


    Dear here is the link that contains a sample code to your problem.

    http://www.vb6.us/source-code/simple-calculator-written-vb6

    Best regard

    May 26, 2009 | Microsoft Windows XP Professional

    2 Answers

    Windows XP Pro


    Thats is virus...you need a updated virus guard to clean it.

    Feb 05, 2009 | Microsoft Windows XP Professional With...

    1 Answer

    How we can capture a tcp packet using java program


    Hi!

    1. If you want to write a packet sniffer in java, please review this
    useful links:
    http://www.rohitab.com/discuss/lofiversion/index.php/t28724.html

    jpcap:
    http://netresearch.ics.uci.edu/kfujii/jpcap/doc/samples.html

    I suggest to use the jpcap library it developed for packet capturing and it contains sample code too.



    2. If you want to search for a simple exe program which captures
    the ethenet packets wireshark is a good solution:
    www.wireshark.org




    Jan 06, 2009 | Operating Systems

    1 Answer

    DOS Programme to txt file


    Assuming that you are not able to export the data from the
    original point of sale application, which is obviously the
    best choice...

    1)
    Try to open the file(s) with Microsoft Excel (make sure that all of Excel's input conversion filters have been installed and enabled).

    Most database files are organized as a set of (nested)
    two dimensional data tables, which can be individually
    imported into Excel as spread sheets.

    Excel is very good at detecting and converting database tables.
    Other spread sheets such as Lotus 123, or Quatro pro may also
    be able to do this.

    2) Microsoft Access may also be capable of importing
    and converting the entire database.

    3) Heavy duty data-base modeling suites, such as ER-Win
    by Computer Associates (CA) may also be able to import
    and export the database.

    4) If the files are in the open *.dbf format, then I have the binary
    file specifications, which can be used to decipher the files.

    5) The files may also be simple tables, which are TAB, SPACE,
    or COMMA (etc.) delimited, and you should be able to recover
    these with a simple notepad editor or uuedit.

    6) Most DOS programs (not all) can also be run under Windows
    XP, using the command prompt:

    START ==> All programs ==> Accessories ==>
    Command Prompt.

    ========================================
    Most importantly, we need to know the name of the application
    that created the files, or see a sample of the file, to give you
    further advice.

    Martin

    May 07, 2008 | Operating Systems

    Not finding what you are looking for?
    Operating Systems Logo

    Related Topics:

    202 people viewed this question

    Ask a Question

    Usually answered in minutes!

    Top Operating Systems Experts

    Brian Sullivan
    Brian Sullivan

    Level 3 Expert

    27725 Answers

    vimal
    vimal

    Level 3 Expert

    340 Answers

    Justin
    Justin

    Level 3 Expert

    2072 Answers

    Are you an Operating System Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides

    Loading...