책 내용 질문하기
2013년 1회 기출 select case
도서
[2012] 컴퓨터활용능력 1급 실기(엑셀, 액세스 2007 사용자용)
페이지
조회수
66
작성일
2014-10-20
작성자
첨부파일
4-3.수량이 1~49이면 0%,50~99이면 3%,100~149이면 5%,150이상이면 10%로 표시할것.
Select Case txt수량
Case Is >= 150
txt할인율 = 0.1
Case Is >= 100
txt할인율 = 0.05
Case Is >= 50
txt할인율 = 0.03
Case Else
txt할인율 = 0
End Select
위에 답을
이렇게 써도 맞나요?
Select Case 수량
Case Is < 50
txt할인율 = "0%"
Case Is < 100
txt할인율 = "3%"
Case Is < 150
txt할인율 = "5%"
Case Else
txt할인율 = "10%"
End Select
답변
2014-10-20 14:46:13
결과가 정확히 나온다면 상관 없으세요.
좋은 하루 되세요.
"-
*2014-10-20 14:46:13
결과가 정확히 나온다면 상관 없으세요.
좋은 하루 되세요.
"