public class Sook 
{  
public static void main(String[] args) 
{  
    int count = 1;  
    while (count <= 15) {  
    System.out.println(count % 2 == 1 ? "***" : "+++++");  
    ++count;  
        } // end while  
    } // end main   
 }  

Predict the output 

Posted on by