• 홈

마름모 그리기

조회 수 1548 추천 수 0 2019.11.05 10:36:56
#include<stdio.h>
#define X 7
#define Y 7

int main()
{
int i,j,k;
int buff[X][Y];
for(i=0;i<7;i++)
{
for(j=0;j<7;j++)
{
buff[i][j]=' ';
}
}

for(k=0;k<7;k++)
{
if(k<=3)
{
buff[k][3-k]='*';
buff[k][3+k]='*';
}
else
{
buff[k][k-3]='*';
buff[k][9-k]='*';
}
}

for(i=0;i<7;i++)
{
for(j=0;j<7;j++)
{
printf("%c",buff[i][j]);
}
printf("\n");
}
}


댓글 '1'

Anthony

2021.01.03 04:13:32
*.145.91.246

Balenciaga Shoes Adidas Yeezy Boost 350 Nike Running Shoes For Men Air Force Ones Adidas Yeezy Shoes Air Jordan Shoes Pandora Charms Fila Shoes For Women Nike Cortez Men Ferragamo Nike Store Nike KD Nike Outlet Store Online Shopping Fjallraven Kanken Nike Outlet Store Pandora Charms Air Force 1 New Nike Shoes Christian Louboutin Outlet NBA Shop Womens Nike Shoes Nike Lebron 17 Nike Shoes Christian Louboutin Outlet Nike Air Max 97 Asics Shoes Pandora Jewelry Pandora Charms Yeezy 500 Black Pandora Bracelets Nike Sneakers Pandora Rings Pandora Jewelry Official Site Nike Factory Store Nike Cortez Ultra Boost Louboutin Shoes Kyrie Basketball Shoes Christian Louboutin Shoes Best NFL Jerseys Nike Clearance Pandora Ring Adidas Womens Nike Shoes NHL Store Pandora Jewelry Official site Adidas Shoes NBA Jerseys Pandora Charms Outlet Air Max 98 Pandora Jewelry Outlet Pandora Charms Sale Clearance Nike Presto Nike Air Zoom Lebron Shoes Ferragamo Shoes Nike Outlet Store Online Shopping Golden Goose Asics Shoes For Women Pandora UK Baseball Jerseys Pandora Outlet Nike Running Shoes Adidas Yeezy Pandora Jewelry Yeezy Adidas Ultra Boost Yeezy Lebron James Sneakers Adidas NMD Lebron 16 Nike Air Max 720 Pandora Necklaces Air Max 2019 Christian Louboutin Heels Adidas Store Nike Outlet Store Online Shopping Pandora Yeezy Sneakers MLB Official Site Balenciaga Pandora Charms Yeezy Boost 750 Nike Basketball Shoes Christian Louboutin Shoes Pandora Christian Louboutin Outlet Nike Air Max 270 Pandora Charms Pandora Bracelet Nike Sneakers For Men Nike Epic React Jordan Retro Nike Air Force 1 Men Nike Air Max 270 Women's Pandora Official Website Air Max 95 Nike Shoes Jordan Shoes Fjallraven Backpack Red Bottom Shoes For Women Valentino Yeezys Shoes Nike Outlet Nike Running Shoes Puma Shoes Louboutin Outlet Nike Black Friday Sale Pandora Outlet Pandora Rings New Adidas Pandora Jewelry Official Site Adidas Yeezy Adidas Yeezy Air Jordans Lebron 16 Shoes Pandora Nike Clearance Nike Store Online Jordan Shoes Yeezy Boost Pandora Air Jordan 11 Nike Website Nike Clearance Adidas Originals Superstar Pandora Earrings MLB Shop Nike Factory Pandora Charms Nike Kyrie Ultraboost Nike Outlet Store Online Shopping NFL Store Online Shopping New Nike Shoes 2019 Nike Sneakers Adidas Yeezys Basketball Shoes Nike Fila Sandals Asics Running Shoes For Women Nike Shoes Louboutin Outlet Nike Sneakers Pandora Rings Nike Clearance Pandora Bracelet Nike Air Max 98 Gundam Vans Shoes Outlet Air Force One Nike Christian Louboutin Shoes NFL Fan Shop Pandora Jewelry Louboutin Shoes Red Bottoms Louboutin Adidas Stan Smith Sneakers Nike Hyperadap Adidas NMD xr1 Nike Zoom Fly Pandora Jewelry Official Site Football Jerseys Nike Factory Store Pandora Bracelets Nike Air Max 270 Men Goyard Handbags Nike Outlet Store Online Shopping New Nike Shoes Christian Louboutin Heels NMD R1 Nike Huarache Men Nike Outlet Online NFL Gear Pandora Rings Ferragamo Outlet Pandora Charms Jordans Sneakers Louboutin Heels Adidas Sneakers For Men MLB Shop NFL Jerseys Cheap Nike Shoes 2019 Nike Outlet Store Pandora Charms Basketball Shoes Pandora Charms Nike Shoes Nike Free Run Nike Shoes Nike Free Nike Factory Store Pandora Charms Nike Outlet Online Nike Factory Outlet Red Bottom Shoes Nike Outlet Online NFL Shop Online Nike Outlet MLB Jerseys
문서 첨부 제한 : 0Byte/ 70.00MB
파일 제한 크기 : 70.00MB (허용 확장자 : *.*)
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
44 1학년 정보처리와관리 프린트 복습용 파일 file 샤인샘 2019-11-29 1904
43 예비도제반 자기소개서 샘플 file [2] 샤인샘 2019-11-26 4295
42 2학년 프로그래밍 2차지필을 위한 소스 코드 공개 file [2] 샤인샘 2019-11-25 3079
41 목표값 찾기 file 샤인샘 2019-11-22 1799
40 제01회 모의고사 완성.xlsx file 샤인샘 2019-11-19 1700
39 고급필터 file 샤인샘 2019-11-15 1422
38 표서식 file [3] 샤인샘 2019-11-15 1781
37 자동필터 file 샤인샘 2019-11-15 1400
36 중복데이터제거 file 샤인샘 2019-11-15 1368
35 조건부서식 file 샤인샘 2019-11-15 1452
» 마름모 그리기 [1] 샤인샘 2019-11-05 1548
33 함수문제2 file [2] 샤인샘 2019-10-16 1390
32 함수문제 file [1] 샤인샘 2019-10-16 1424
31 함수 file 샤인샘 2019-10-16 1417
30 컴활 2급 모의고사 11월5일 분 file [1] 샤인샘 2018-11-05 5546
29 정보검색공란답안지 file 샤인샘 2018-10-17 4099
28 인터넷검색 예시 file [1] 샤인샘 2018-10-17 5174
27 컴활2급 실기 방과후 실습 예제 file [1] 샤인샘 2018-09-10 5460
26 직업기초능력 설치파일 file 샤인샘 2018-09-07 4804
25 엑셀 예제 파일(정보기술과활용,정보처리와관리) file [3] 샤인샘 2018-09-06 4452
Top