编写一程序,在控制台窗口输出一个3×5的方块。
#include <stdio.h> int main() { for(int i=0;i<3;++i) { for(int j=0;j<5;++j) printf("%c ",1); printf("\n"); } return 0; }