Write a C program to find and print the product of factorial of numbers from N to M.
Can anyone please give me an idea, how to solve this Question ?
[QUOTE=farhanafzal]i have red in my lectures, that the following code [CODE]m-=m*3-h++*2;[/CODE] can also be written as [CODE]m=m-m*3-h++*2;[/CODE][/QUOTE]No [ICODE]m-=m*3-h++*2;[/ICODE] can be written as [ICODE]m=m-(m*3-h++*2);[/ICODE] Those parentheses make all the difference because when you factor them out it becomes [ICODE]m=m-m*3+h++*2;[/ICODE] Which is different to [ICODE]m=m-m*3-h++*2;[/ICODE] Read More
Edited by Nick Evan: Removed bold-tags, added code-tags
Edited by abhimanipal: n/a
Edited by Nick Evan: added code tags. Learn to use them
Edited by Nick Evan: added code-tags. Learn to use them
Edited by farhanafzal: n/a