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

Assignment Help:

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


Related Discussions:- Program to Find the Factorial of a Given Number

Visual basic, a program to accept average, if average is 75 to 85 print it...

a program to accept average, if average is 75 to 85 print it out else bypass using counter. enter and process 5 records

Create program to prints out the value of a variable, Here is a short progr...

Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will p

Area under the curve, Write a program to find the area under the curve y ...

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

Luminous Jewels - The Polishing Game, plaese tell the full program for the ...

plaese tell the full program for the above given topic with the input and output

Age guessing game, Write a program that predicts users’ age (0-128 years ol...

Write a program that predicts users’ age (0-128 years old) with at most 7 questions. The game starts with asking the user whether he/she is younger or older than G (an initial gues

Arithmetic operation, a program that declares and prompts the user to enter...

a program that declares and prompts the user to enter two integer and performs the five arithmetic operations

Use of random function - c program , Use of random function: int main(...

Use of random function: int main(void) {    int i,j;         for(j=0;j       {      // randomize();       for(i=0;i                  printf("%d\n", ran

Explain operators, Operators The variables, which are declared and expl...

Operators The variables, which are declared and explained, are the operands, which are operated upon by the operators. Operators specify what operations are to be performed on

Pro, i need to do my home work

i need to do my home work

Harcourt social studies, how would land elevation have changed if Coronado ...

how would land elevation have changed if Coronado had traveled 150 miles due west from what is today Arizona instead of east toward New Mexico

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd