answersLogoWhite

0


Best Answer

== == using recursions:

unsigned int Factorial( unsigned int x) { if(x>0) { return ( x * Factorial(x-1)); } else { return(1); }

}

factorial:

unsigned int Factorial( unsigned int x)

{

unsigned int u32fact = 1;

if( x == 0)

{

return(1);

}

else

{

while(x>0)

{

u32fact = u32fact *x;

x--;

}

}

}

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to write a program to find the delimiter matching in stacks?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a C program to extract a word from a delimiter text file?

not yet found


How do you write Romulus in Latin?

Exactly like that; it is a Roman name, after all. No matching link found. No matching link found. No matching link found. No matching link found. No matching link found. No matching link found. No matching link found. No matching link found. No matching link found.


Weaknesses of the direct write-off method is?

Violates the matching principle


How to write program for secant method in mathematica?

How to write a program for secant method by mathematica


Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


How do you write Square program using vb?

write a vb program to find the magic square


Write a program to multiply 33 matrix.?

write a program to multily 3*3 matrix.


Write a program to illustrate the usage of pointers with arrarys and functions?

* * * * * * * * * * write the c++ program and show me brifily?


Write a program to create a maze?

this is to write or create


Write a program to demonstrate renaming the file?

write a


Write a sample program using ASPNET explaining all the syntax and semantics of the program?

write a sample program using asp.net explaining all the syntax and semantics of the program


Where do we write main function in a c program?

Into the source program.