精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 數(shù)字和字母的轉(zhuǎn)換的程序

    數(shù)字和字母的轉(zhuǎn)換的程序
    寫一個叫num的程序...讀或者寫十進制被指定是阿拉伯?dāng)?shù)字或者是英文字母的號碼..程序要一直從標(biāo)準(zhǔn)輸入里讀再寫標(biāo)準(zhǔn)輸出直到所有輸入都進行了...
    1.轉(zhuǎn)換 數(shù)字 into 字母 for numbers less than 10.
    input output
    5 five
    0 zero
    2.轉(zhuǎn)換 數(shù)字 into 字母 for numbers less than or equal to 20.
    input output
    15 fifteen
    12 twelve
    3.轉(zhuǎn)換 小寫字母 into numerals for numbers less than or equal to 20.
    input output
    fifteen 15
    eight 8
    4.對于輸入的字母是不敏感的
    input output
    FIFTEEN 15
    EiGhT 8
    5.轉(zhuǎn)換 numerals into words for numbers less than 1000.
    input output
    921 nine hundred twenty one
    901 nine hundred one
    6.轉(zhuǎn)換 字母 為 數(shù)字 for numbers less than 1000.
    input output
    two hundred fifty six 256
    one hundred eleven 111
    7.如果輸入了不可用的數(shù)據(jù)則輸出一個錯誤的信息..
    input output
    hello world invalid input
    3 hundred invalid input
    %@ invalid input
    希望會的人能寫一個完整的例子出來...
    其他人氣:790 ℃時間:2020-04-14 06:35:00
    優(yōu)質(zhì)解答
    你很無聊厄
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版