1 / 6

Chap3 과제

Chap3 과제. 과목명 : 기초컴퓨터 지도교수 : 심한수 이름 : 김명진 반 , 학번 :C_2051607 작성일 :2005.03.26. 기초컴퓨터 , 드로잉 , 디자인 세 과목의 중간고사 성적을 입력 받아서 평균을 출력하라. START. Basic_computer, Drawing, Design, Sum,Average. Basic_computer, Drawing, Design. Sum Basic_computer +Drawing +Design. Average sum/3.

sue
Télécharger la présentation

Chap3 과제

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chap3 과제 과목명:기초컴퓨터 지도교수:심한수 이름:김명진 반,학번:C_2051607 작성일:2005.03.26

  2. 기초컴퓨터, 드로잉, 디자인 세 과목의 중간고사 성적을 입력 받아서 평균을 출력하라. START Basic_computer, Drawing, Design, Sum,Average Basic_computer, Drawing, Design SumBasic_computer +Drawing +Design Average sum/3 Basic_computer, Drawing, Design, Sum,Average STOP

  3. START 2. 1에서 3까지의 숫자값을 입력 받아서 1이면 가위, 2이면 바위, 3이면 보를 출력하시오. A, Kawi, Bawi, Bo 1,2,3 A==1 A= “Kawi” YES NO A= “Bawi” A==2 YES NO A= “Bo” A==3 YES NO A STOP

  4. 3. 숫자 하나를 입력 받아서 절대값이 5 보다 크면 입력숫자를 절대값으로 출력한다 예)입력숫자 -6 이면 출력숫자 6 입력숫자4 이면 출력없음 입력숫자8 이면 출력숫자 8 START number number number>=5 NO YES number<5 number STOP

  5. START 4. 입력자료로 사원의 이름과 구분코드와 작업시간이 들어온다. 이때 구분코드가 1이면 시간당 2000원 2이면 시간당 2500원 3이면 시간당 3000원 4이면 시간당 4000원으로 계산하여 임금을 출력하는 순서도를 작성하시오. Name, Code, Work_time, wage Name, Code, Work_time 1==Code Yes Wage==“2000원” No 2==code Yes Wage==“2500원” No 3==code Yes Wage==“3000원” No 4==code Yes Wage==“4000원” No Name, Code, Work_time, Wage STOP

  6. 5. 세 개의 숫자를 입력 받아서 가장 큰 숫자를 출력하시오. START A, B, C A, B, C A > B NO YES A>C NO NO B>C YES C YES A B STOP

More Related