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
A: It is implementation dependent. Verify with your compiler's documentation. For instance, assume you wish to do binary I/O using std::cin & std::cout. Unluckily there is no st

smugglers transfer the messages from one to another by using the mobile


C Program for 5 FUNCTION OF VOWELS, CNT_WORDS, REVERSE void input(char a[]); void output(char a[]); void reverse(char a[], char b[]); char poli(char a[], char b[]);

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

write a program to find area of curve y=f(x) between x and x=b,integrate between the limits a and b using c     #include float start_point, /* GL

Operator Overloading Fundamentals The C language uses the concept of Operator Overloading discreetly. The asterisk (*) is used as multiplication operator as well as indirect


C Program for ADD,SUB,MUL,DIV,REM void main() {   int a,b,c,ch=0;           clrscr();           while(ch           { printf(" \n\n 1:- For To Add\n 2:- For

write a c program that multiplies 3 martices