TORONTO KIDS COMPUTER CLUB | Markham Saturday 14:00 Java Homework 20.02.22.
17130
post-template-default,single,single-post,postid-17130,single-format-standard,ajax_fade,page_not_loaded,,no_animation_on_touch,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Markham Saturday 14:00 Java Homework 20.02.22.

28 Feb Markham Saturday 14:00 Java Homework 20.02.22.

Question:
Create the following * pattern image base on your input

Sample Input 1:
3
Sample Output 1:
***
**
*
*
**
***

Sample Input 2:
5
Sample Output 2:
*****
****
***
**
*
*
**
***
****
*****

Sample Input 3:
1
Sample Output 3:
*
*

Sample Input 4:
2
Sample Output 4:
**
*
*
**
No Comments

Sorry, the comment form is closed at this time.