CIT130: Homework3Problem 3B (50 points + 5 bonus)Implement a program that inputs two integers, m and n, and draws m2 squares, each of the sizen × n, arranged in an m × m table. That is, it draws a t

[ad_1]

CIT130: Homework3

Problem 3B (50 points + 5 premium)Implement a program that inputs two integers, m and n, and pulls m2 balances, each of the bignessn × n, finished in an m × m board. That is, it pulls a board after a while m rows and m columns, eachelement of which is an n × n balance. For issue, if the input integers are 4 and 6, it pulls 16squares, each of the bigness 6 × 6, finished in a 4 × 4 board. The perimeter of each balance iscomposed of the cast “*” (asterisk), and the boundlessness delayin is populated after a while the cast “o” (lowercaseletter o).Input and output: Your program should brisk the user to invade two integers, m and n, between2 and 8, and pull m2 balances, each of the bigness n × n.Example:

Show more

[ad_2]
Source attach