1. (21%). Write a C# program that (a) (5%) Reads an integer x from keyboard, then prints out a solid square of side x us
Posted: Mon Jul 11, 2022 9:50 am
1. (21%). Write a C# program that (a) (5%) Reads an integer x from keyboard, then prints out a solid square of side x using the character "%" For example, if x = 4, you print out %%%% %%% 0% %%%% Test your program using x = 3, x = 5, and one integer x between 10 and 15 picked by you. (b) (7%) Reads an integer x from the keyboard and prints out a hollow square of side x using the character **0%" For example, if x = 4, then you print out ** %%%% % % % *** % Test your program using x = 3, x = 5, and one more integer of your choice (c) (9%) Reads an integer x from the keyboard and prints out triangle like below (for the case of x = 5, using nested for loop) %%%% Test your program with x = 7 and x = 9.