My main question is within my for loop it is giving me a problem with my myNumber variable when I am calling it within the outFile.println so I am confused with that.
Type: Posts; User: JWingate
My main question is within my for loop it is giving me a problem with my myNumber variable when I am calling it within the outFile.println so I am confused with that.
import java.io.*;
public class C13e1
{
public static void main(String[] args) throws IOException
{
PrintWriter outFile = new PrintWriter(C13e1.txt);
for (int myNumber = 5; myNumber <=...
Honestly, I do not know factorials, but I am going into class early to learn a little before the test.
The parentheses through me off as well, I am wonder the same as you about the multiplication.
I am basically asking for a more in-depth explanation of each question. I am not looking for coding, I frankly just don't understand what each question is truly looking for.
I am having trouble solving these questions that could be on my test in 3 hours:
1. 5 factorial is the product of 5, 4, 3, 2, 1. 10 factorial is the product of the integers 10 down to 1. Write a...