Program to Find the Factorial of a Given Number, C/C++ Programming

Program1:

Write a program to find the factorial of a given number. The input is user given. Final output is printed out on to the screen.

Program2:

Write a program to generate the Fibonacci series and print it out on the screen for the first 10 numbers. Initial two inputs are user given.

Program 3:

Try the following code and explain what does this program do? Fix any syntax errors.

.data
 Input DWORD  0Fh, 3Fh, 9Fh, 0BFh, 0FFh
 
.code
 Mov cx, 04h
 Mov esi, 00h
L1: Mov eax, input+esi
 Call SetTextColor
 Call Randomize
 Inc esi
 Inc esi
 Inc esi
 Inc esi
 Loop l1
 Exit

Posted Date: 3/2/2013 7:54:56 AM | Location : United States







Related Discussions:- Program to Find the Factorial of a Given Number, Assignment Help, Ask Question on Program to Find the Factorial of a Given Number, Get Answer, Expert's Help, Program to Find the Factorial of a Given Number Discussions

Write discussion on Program to Find the Factorial of a Given Number
Your posts are moderated
Related Questions
1. The shell must support the following internal commands: i. cd - Change the current default directory to . If the argument is not present, report the current directory. If t

Is it legal for a member function to say delete this? A: As long as you're cautious, it's OK for an object to delete this. Here's how I define "cautious": You have to be a

New data members  New member functions  New constructors and destructor  New friends

This program requires the use of a windows box, no console applications are allowed. Prepare for Christmas now.  Each year, Reindeer Gift Emporium publishes a Christmas price list

how to create a flowchart? can you help me in my assignment about flowcharting ....

Create a program to print a battleship grid to the console and mark squares as destroyed

This assignment is to be undertaken individually - no group work is permitted. Background information This assignment is an exercise in simple object-oriented programming and, acco

superposition of waves

MAT LAB programming Project Description: Just for who are PROFESSIONAL IN MATLAB i have simulation and i would like to simulate the equation in ,and test the all simulatio

The program reads two numbers and a character (operator). If the character is "+" then sum is displayed. If it is "-"then difference is displayed. If it is "*" then product is disp