print a heart...using asterix(*) ......in java
1
2012-02-10T08:14:59-0500
package heart;
public class Main {
public static void main(String[] args) {
& String[] heart = {" ******* & *********",
quot; ************ *******& ****",
quot; ************************& ***",
quot; ************************& ***",
quot; ************************& ***",
quot; **********************& ***",
quot; & ***********************",
quot; *****************",
quot; *************",
quot; *******",
quot; ***",
quot; *"};
& for(int i = 0; i < 12; i++)
System.out.println(heart[i]);
}
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments