Giter Club home page Giter Club logo

coding-dojo's Introduction

Coding Dojo

แมวน้ำเชื่อว่ามีหลายคนก็น่าจะสงสัยเรื่องนี้อยู่ไม่น้อย ว่าจะรู้ได้ไงว่าฝีมือแบบนี้ถึงเรียกว่า "กาก, พอใช้, ดี, เทพ" ซึ่งแมวน้ำเคยเจอบางคนทุ่มเวลาไปกับการศึกษา Algorithms แปลกๆใหม่ๆ บางคนทุ่มไปกับการอ่านหนังสือพวก OOAD (Object-Oriented Analysis & Design) และอื่นๆอีกมากมาย เพื่อที่จะขัดเกลาโค้ดตัวเองให้ดีขึ้น

หากใครอยากรู้ว่าตัวเองมีดีแค่ไหน? เขียนโค้ดได้ถึงระดับไหนแล้ว? ลองแก้โจทย์ของเด็กมหาลัยปี 1 ด้านล่างนี้ดูนะ (เงื่อนไขต่างๆอยู่ด้านล่างสุด)

โปรแกรมตัดเกรด

ตัวโปรแกรมจะให้กรอกคะแนน 0~100 ลงไป แล้วบอกว่าได้เกรดอะไร

เกณฑ์การให้เกรด

เกรด ช่วงคะแนน
A 91~100
B 81~90
C 71~80
D 61~70
F 0~60

เงื่อนไข

  1. ให้ทุ่มความรู้ทุกอย่างที่ตัวเองมีทั้งหมดแก้โจทย์นี้ออกมา
  2. ความรู้ที่ทุ่มลงไปต้องไม่ทำให้โค้ดซับซ้อนโดยไม่จำเป็น
  3. ให้เขียนเป็น OOP (Object-Oriented Programming) ถ้าใครเขียนไม่เป็นเขียนแบบธรรมดามาก็ได้

วิธีทำ + ส่ง

ให้ทำการ Fork จาก repo นี้ไปทำของใครของมัน แล้วทำ Pull-Request กลับมา แล้วแมวน้ำจะ comment ตรวจให้

coding-dojo's People

Contributors

sakul avatar

Watchers

 avatar

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.