사칙연산을 수행할 수 있는 계산기 프로그램 작성
본 자료는 3페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
해당 자료는 3페이지 까지만 미리보기를 제공합니다.
3페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

사칙연산을 수행할 수 있는 계산기 프로그램 작성에 대한 보고서 자료입니다.

목차

(1) 출력 형식

(2) 처리조건

(3) 폼 디자인

(4) 속성 설정

(5) 이벤트 프로시저 작성(코딩)

본문내용

'+
Private Sub Command13_Click()
If Text3.Text = "" Then
Text3.Text = "+"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub

'-
Private Sub Command14_Click()
If Text3.Text = "" Then
Text3.Text = "-"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub


...
...




Private Sub Command15_Click()
If Text3.Text = "" Then
Text3.Text = "×"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub

'/
Private Sub Command16_Click()
If Text3.Text = "" Then
Text3.Text = "/"
Text2.Text = Int(Text1.Text)
Text1.Text = Clear
Else
Text1.Text = "error"
End If
End Sub
...
...
...
...


'=
Private Sub Command12_Click()
If Text3.Text = "+" Then
Text1.Text = Int(Text2.Text) + Int(Text1.Text)
Else
If Text3.Text = "-" Then
Text1.Text = Int(Text2.Text) - Int(Text1.Text)
Else
If Text3.Text = "×" Then
Text1.Text = Int(Text2.Text) * Int(Text1.Text)
Else
If Text3.Text = "/" Then
Text1.Text = Int(Text2.Text) / Int(Text1.Text)
Else
Text1.Text = "error"
End If
End If
End If
End If
Text2.Text = Clear
Text3.Text = Clear
End Sub


...
...
  • 가격1,000
  • 페이지수9페이지
  • 등록일2007.01.16
  • 저작시기2006.11
  • 파일형식파워포인트(ppt)
  • 자료번호#388761
본 자료는 최근 2주간 다운받은 회원이 없습니다.
다운로드 장바구니