2019-12-04

图片发自简书App


using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace train4

{

    class Program

    {

        static void Main(string[] args)

        {

            Console.WriteLine("商品名称\t购买数量\t商品单价\t金额");

            Console.WriteLine("{0}\t\t\t{1}\t{2}\t\t{3}", "夹克", "1", "190", "190");

            Console.WriteLine("{0}\t\t{1}\t{2}\t\t{3}", "iphone11", "2", "6000", "12000");

            Console.ReadKey();

        }

    }

}

推荐阅读更多精彩内容

  • 在控制台输出商品价目表 using System; using System.Collections.Generi...
    2f0fae0b4b67阅读 233评论 0 0
  • using System; using System.Collections.Generic; using Sys...
    熙洛洛阅读 111评论 0 0
  • 求四位会员卡号之和 (1) 键盘输入四位数字的会员卡号 (2) 使用“/”和“%”运算符分解获得会员卡各个位上的数...
    2f0fae0b4b67阅读 29评论 0 0
  • using System; using System.Collections.Generic; using Sys...
    熙洛洛阅读 58评论 0 0
  • 使用变量存储以下商品信息,并打印输出 (1) 品牌(brand):爱国者F928 (2) 重量(weight):1...
    2f0fae0b4b67阅读 42评论 0 0