Exercise 1
The aim of this exercise is to learn how to format numerical and string outputs.
1. Complete the below program to obtain the following output (without loop):
* * * * * * * * * *
* * * * * * * * *
* * * * * * * *
* * * * * * *
* * * * * *
* * * * *
* * * *
* * *
* *
*
Hint: use printf method with %s, \n, substring ( ) method seen in chapter 1.
Syntax of substring ( ) method: String substring (Start, End)
