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.
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.
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