Starting from:

$20

Factorial numbers

In this assignment, you will write a program that provides the following features:
• The program will provide an interface that includes the following:
o A factorial button
o A recursion log (the multiline text box on the right of the interface)
• The program should perform the following functions:
o User can enter an integer from 1 to 10.
o When the user clicks the Factorial button, the program should compute and display the integer's factorial.
o The recursion log should display a message indicating when each recursive call was made.
o The interface should also indicate when the base case is reached, and it should list all values returned.
Save the program as Factional.cpp

More products