1 / 5

Introduction to C Programming

Introduction to C Programming. Program 3. Program 3 身分 證字號 產生器. 說明 輸入性別後 亂數 產生正確格式之身份證 字號 。 ( 男 生用 M ,女生用 F 為代號 ) 亂數產生之使用身份證字號必須通過檢查碼測試。. Program 3 (Cont.). Sample input 請 輸入性別 :M Sample output A123456789. Bonus. 挑戰 : 上色 & 動畫 將前面輸出之身份證字號上色 ( 男生為 藍色 ,女生為 紅色 ) 。

Download Presentation

Introduction to C Programming

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. Introduction to C Programming Program 3

  2. Program 3身分證字號產生器 • 說明 • 輸入性別後亂數產生正確格式之身份證字號。(男生用M,女生用F為代號) • 亂數產生之使用身份證字號必須通過檢查碼測試。

  3. Program 3(Cont.) • Sample input 請輸入性別:M • Sample outputA123456789

  4. Bonus • 挑戰:上色&動畫 • 將前面輸出之身份證字號上色(男生為藍色,女生為紅色)。 • 畫出一個台灣地圖,將身份證字號之字串移動到出生地位置並將台灣上色為藍/紅色(男/女)。

  5. Deadline • 11/8

More Related