public class JavaApplication82 {
public static void main(String[] args) {
for (int i = 1; i <= 9; i++){
for (int w = 0; w < i; w++){
System.out.print("*");
}
System.out.println("");
}
}
}
This works for me.
<em>Answer:</em>
<em>There are three main types of secondary storage in a computer system: solid state storage devices, such as USB memory sticks. optical storage devices, such as CD, DVD and Blu-ray discs. magnetic storage devices, such as hard disk drives.</em>
<em>Explanation:</em>