WAP in JAva to print the following message -hello!
Answers
Answered by
1
Answer:
Jump to Code to print Floyd's triangle · Example 1: Program to print half pyramid using * public class Pattern { int rows = 5; for(int i = 1; i <= rows; ++i) { for(int j = 1; j <= i; ++j) { print("* "); } println(); }
Answered by
0
Answer:
class MyClass {
public static void main(String[ ] args) {
System.out.println("Hello World");
}
}
That will be your code ...
Similar questions
Math,
6 months ago
Social Sciences,
6 months ago
Math,
11 months ago
English,
1 year ago
Math,
1 year ago