Question: Write a go program function QuadA that prints a valid rectangle with a given width of x and height of y . The function must
Write a go program function QuadA that prints a valid rectangle with a given width of x and height of yThe function must draw the rectangles as in the examples.If x and y are positive numbers, the program should print the rectangles as seen in the examples, otherwise, the function should print nothing.Make sure you submit all the necessary files to run the program.Expected functionfunc QuadAxy intUsageHere are possible programs to test your function :Program #package mainimport "piscine"func mainpiscineQuadAAnd its output :$ go run oooo$Program #package mainimport "piscine"func mainpiscineQuadAAnd its output :$ go run oo$Program #package mainimport "piscine"func mainpiscineQuadAAnd its output :$ go run o$Program #package mainimport "piscine"func mainpiscineQuadAAnd its output :$ go run oo$
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
