The pseudocode I posted above calculates the factorial so it would replace the nested loop in your code.
Im sorry about my lack of vocabulary. I am just a freshman in high school trying to get through a class.
Well the onus is upon you to make an effort if you want to pass. When someone posts something the first thing you need to do is understand it. If you don't, then you need to spend some time doing some research. For example I just googled "java increment" and got plent of results.
I did the same thing, sorry. so for the code to calculate the factorial would n=n*x*(x-1);? I tried just n=n*x which clearly doesnt print out the ful factorial, past 3.
I provided the algorithm. Try converting it to code.
I have been. for a long time. guess im turning in another F, Thanks for the attempted help.