Computer Science, asked by shourya1504, 11 months ago


WAP in JAva to print the following message -hello!​

Answers

Answered by jagadeesh222
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 Ves1857
0

Answer:

class MyClass {

public static void main(String[ ] args) {

System.out.println("Hello World");

}

}

That will be your code ...

Similar questions