Question

4. Write programs: a. Write a program to display the following messages in the console: "Welcome to Java World", "I like programming", and "I am a student at Suffolk Community

College" b. Write a program to' display the following pattern:

Fig: 1

Fig: 2

Fig: 3

Fig: 4