java,

write a program that prints out the letter X composed of asterisks (*)

reply soon

http://www.google.com/search?q=how+to+write+java+code&ie=utf-8&oe=utf-8&aq=t&client=firefox-a&rlz=1R1GGGL_en___US357

There should be some good tutorials in those search results.

Sure! I can help you with that. Here's a simple Java program that prints out the letter X composed of asterisks:

```java
public class PrintX {
public static void main(String[] args) {
int size = 7; // Define the size of the X
for (int i = 0; i < size; i++) { // Loop through each row
for (int j = 0; j < size; j++) { // Loop through each column
if (i == j || i == size - 1 - j) { // Check if we are on the diagonal
System.out.print("*"); // Print asterisk
} else {
System.out.print(" "); // Print space
}
}
System.out.println(); // Move to the next line
}
}
}
```

To run this program, you can follow these steps:

1. Open a text editor and copy the above code into a new file.
2. Save the file with a .java extension (e.g., PrintX.java).
3. Open a command prompt or terminal and navigate to the directory where you saved the file.
4. Compile the Java file by running the command `javac PrintX.java`.
5. Once the compilation is successful, run the program with the command `java PrintX`.

After running the program, you will see the letter X composed of asterisks (*) printed on the console. Adjust the `size` variable in the code to change the size of the X if needed.

Let me know if you need any further assistance!