NotGoodAtAll
New member
- Joined
- Oct 30, 2019
- Messages
- 9
Hi,
Simple algorithm:
While n is greater than 1
Print n ! symbols
go to next line
make n equal n-1
If n - 5 the output reads:
!!!!!
!!!!
!!!
!!
There would be no single ! symbol as 1 is not greater than 1 (I assume this is correct, please correct me if not)
I need an expression that gives the number of symbols regardless of the value n, and write a formula.
I have drawn this out, bashed my head against the wall and I seem to be having an issue.
I have so far ascertained that the following works but not sure what else I can do:

Any assistance would be hugely appreciated.
Simple algorithm:
While n is greater than 1
Print n ! symbols
go to next line
make n equal n-1
If n - 5 the output reads:
!!!!!
!!!!
!!!
!!
There would be no single ! symbol as 1 is not greater than 1 (I assume this is correct, please correct me if not)
I need an expression that gives the number of symbols regardless of the value n, and write a formula.
I have drawn this out, bashed my head against the wall and I seem to be having an issue.
I have so far ascertained that the following works but not sure what else I can do:

Any assistance would be hugely appreciated.