Giter Club home page Giter Club logo

20201008-homework-pro's Introduction

20201008-homework-pro


Pull Request 前請確認以下事項:

  • 已閱讀 作業繳交方式
  • 在下方附上 Repl 連結
  • 檔案放在自己學號的目錄下
  • 標題以「班級座號、學號、姓名」作為開頭
  • 其他說明事項可以在下面補充

筆記連結

繳交題目請標註題號

HW:

1.使用 cmath,給直角三角形的兩個邊,求斜邊長。


2.使用 cctype,輸入一串英文句子,將第奇數個字改成大寫,第偶數個字改成小寫,空白及標點符號不包含在字的計數內。

e.g.:

input:I am a High scHOOl sTuDENt.

output:I aM a HiGh ScHoOl StUdEnT.


3.第一行輸入a, b,代表兩組集合的數字數量。

第二行及第三行分別輸入a及b的內容,每組數字間會空格。

輸出分三行:

第一行輸出兩集合的交集。

第二行輸出兩集合的聯集。

第三行輸出兩集合的差集。


4.輸入書本數 n,接下來每一行輸入一本書名及其價錢(之間空格)請先依價錢排序後,同價位再依書名字典序排序。

最後輸出一行一本書,從最便宜的開始。(提示:用stable_sort)

20201008-homework-pro's People

Contributors

kyle355469 avatar 269seahorse 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.