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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 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 us

Post by answerhappygod »

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 1
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 1 (37.27 KiB) Viewed 54 times
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 %%%% %%%% %%%% %%%% 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 "%" 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply