Giter VIP home page Giter VIP logo

movie's Introduction

movie

영화관 함수
거리순으로 영화관 나열해서 영화관 입력받아서 M에 저장

영화제목 함수
현재 상영중인 영화 리스트 출력
영화입력받아서 m에 저장

시간함수
현재 시각 받아옴
영화관 상영시간표를 시작하는시간, 끝나는 시간 2차원 리스트로 만듬
시간대별로 시간을 입력받아서
현재시각과 비교하여 그 후 시간대 영화리스트 출력

자석 함수
r,c를 초기화 해주고
프리미엄 영화관과 일반 영화관을 나누어서
프리미엄 영화관은 더 큰 영화관, 일반영화관은 보통 영화관
반복문을 써서 좌석을 프린트하고
예매하고 x표시를 함
몇열 몇이 예약되었다고 출력하고
list에 몇열 몇이라고 문자 그대로 append
만약에 중복된 자리면 다시 입력하라고 출력
반복문으로 N입력할때까지 반복

좌석돈
money를 초기화하고
list의 크기만큼 구매수량 반복
성인, 청소년, 어린이나 노약자로 나누어서 가격 차별

팝콘함수
반복문으로 팝콘구매할건지 물어보고
핍콘 메뉴판 출력
번호를 입력하라고 요청하고
가격 차별하고 mon에 저장

영화관으로 먼저 검색할지 영화로 먼저 검색할지 입력받아서
함수 호출 순서 변경

영화표 출력

총 금액 출력

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.