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

  • <center id="usuqs"></center>
  • 
    
  • C# 基礎語言 if..else

    C# 基礎語言 if..else
    string tax;
    decimal taxa;
    Console.WriteLine("Enter tax Y or N");
    Input = Console.ReadLine();
    tax = Convert.ToString(Input);
    if (tax == Y);
    {
    taxa=0.01;
    }
    else(tax == N);
    {
    taxa=0;
    }
    Console.WriteLine(taxa)
    題要求
    輸入Y 顯示 10
    輸入N 顯示 0
    我好像寫的不對,應該如何改呢
    其他人氣:108 ℃時間:2020-03-17 22:36:24
    優(yōu)質解答
    static void Main(string[] args){string tax;decimal taxa;Console.WriteLine("Enter tax Y or N");tax = Console.ReadLine().ToString();if...
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版