Page not loading? Try clicking here.
Placeholder

#148

Loop - Formative Assessment 9 1s 16MB

Problems

Write a program that inputs a natural number n and outputs it separated by spaces as in the "Example Output".

NOTE! '#' is a space-separated string, but there are no blank lines between lines.


Example #1

3
#

# #
# # #
# #
#

Example #2

5
# 
# #
# # #
# # # #
# # # # #
# # # #
# # #
# #
#

Source

자기주도C언어프로그래밍

You must sign in to write code.